summaryrefslogtreecommitdiff
path: root/drivers/mfd/sm501.c
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-06-02 19:43:33 +0800
committerLee Jones <lee.jones@linaro.org>2021-06-15 13:02:18 +0100
commitae7955f7250efedb959391e73018b607a51e78b2 (patch)
tree71f7d950db672908f470d050a0715ec8e08b788a /drivers/mfd/sm501.c
parent47ed390bac52c5814c03253d15a6ffe85ef69ba5 (diff)
mfd: timberdale: Use DEVICE_ATTR_RO macro
Use DEVICE_ATTR_RO 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> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/sm501.c')
0 files changed, 0 insertions, 0 deletions