commit | fa32f7a3fedd800161ca529397da14faa6c47c67 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Mon Jan 01 20:38:50 2018 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Jan 03 12:10:14 2018 +0000 |
tree | 748af901dfa1a62bc4d0814dc3c4f257411aae1d | |
parent | 433c9bb77b8131ef340148565996b3818fbf2f23 [diff] |
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>