]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mfd: timberdale: Use DEVICE_ATTR_RO macro
authorZhen Lei <thunder.leizhen@huawei.com>
Wed, 2 Jun 2021 11:43:33 +0000 (19:43 +0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 15 Jun 2021 12:02:18 +0000 (13:02 +0100)
commitae7955f7250efedb959391e73018b607a51e78b2
tree71f7d950db672908f470d050a0715ec8e08b788a
parent47ed390bac52c5814c03253d15a6ffe85ef69ba5
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>
drivers/mfd/timberdale.c