summaryrefslogtreecommitdiff
path: root/drivers/regulator/sc2731-regulator.c
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-06-02 16:05:26 +0800
committerMark Brown <broonie@kernel.org>2021-06-02 12:03:37 +0100
commitba499a50ce5846dd6f7a6df92c1f01d4201b5cce (patch)
tree37ba965abc5e8ed4324434903974e1be3a1730a0 /drivers/regulator/sc2731-regulator.c
parentde20b747c5836ffc6768914b95d7617139fac4f4 (diff)
regulator: userspace-consumer: use DEVICE_ATTR_RO/RW macro
Use DEVICE_ATTR_RO/RW macro helper instead of plain DEVICE_ATTR, which makes the code a bit shorter and easier to read. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Link: https://lore.kernel.org/r/20210602080526.11117-1-thunder.leizhen@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/sc2731-regulator.c')
0 files changed, 0 insertions, 0 deletions