diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-02 19:43:34 +0800 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-06-15 13:02:53 +0100 |
commit | a2cb660b2fefbe5f8b2375bca2da21e67fbf5573 (patch) | |
tree | f630cecbbb0cf670bec7ad7b038f6e73b68f1449 /drivers/mfd/tps65010.c | |
parent | ae7955f7250efedb959391e73018b607a51e78b2 (diff) |
mfd: sm501: 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/tps65010.c')
0 files changed, 0 insertions, 0 deletions