diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-02 14:43:35 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-06-15 15:03:21 +0300 |
commit | 426d94a91456e9009296823f023de502d7bc28e4 (patch) | |
tree | 00459f2dfacbdb9665ec404569dab24534b2630f /drivers/mfd/kempld-core.c | |
parent | a2cb660b2fefbe5f8b2375bca2da21e67fbf5573 (diff) | |
download | linux-426d94a91456e9009296823f023de502d7bc28e4.tar.xz |
mfd: pcf50633: Use DEVICE_ATTR_ADMIN_RO macro
Use DEVICE_ATTR_ADMIN_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/kempld-core.c')
0 files changed, 0 insertions, 0 deletions