Re: [PATCH v2] regulator: sc2731: Fix defines for SC2731_WR_UNLOCK and SC2731_PWR_WR_PROT_VALUE

From: Erick Chen
Date: Wed Jan 03 2018 - 01:41:32 EST


Hi Axel,

On ä, 1æ 01, 2018 at 08:38:50äå +0800, Axel Lin wrote:
> The defines for SC2731_WR_UNLOCK and SC2731_PWR_WR_PROT_VALUE makes
> regmap_write() call looks strange because it takes reg parameter fist
> then val.
> Base on Erick's suggestion to define SC2731_PWR_WR_PROT and
> SC2731_WR_UNLOCK_VALUE instead.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>

Reviewed-by: Erick Chen <erick.chen@xxxxxxxxxxxxxx>

>