diff options
author | Axel Lin <axel.lin@ingics.com> | 2018-01-01 20:38:50 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-01-03 12:10:14 +0000 |
commit | fa32f7a3fedd800161ca529397da14faa6c47c67 (patch) | |
tree | 748af901dfa1a62bc4d0814dc3c4f257411aae1d /drivers/rtc/rtc-ds1553.c | |
parent | 433c9bb77b8131ef340148565996b3818fbf2f23 (diff) | |
download | linux-fa32f7a3fedd800161ca529397da14faa6c47c67.tar.bz2 |
regulator: sc2731: Fix defines for SC2731_WR_UNLOCK and SC2731_PWR_WR_PROT_VALUE
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@ingics.com>
Reviewed-by: Erick Chen <erick.chen@spreadtrum.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1553.c')
0 files changed, 0 insertions, 0 deletions