summaryrefslogtreecommitdiff
path: root/lib/kobject_uevent.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-05-20 16:51:32 +0300
committerVinod Koul <vkoul@kernel.org>2021-05-31 11:38:58 +0300
commitf0afa235685e11fd30e291e4751419c12ba20b84 (patch)
tree3e989d9cdda127052e919abc25816849e28a2345 /lib/kobject_uevent.c
parent46923bdb14c2a51fb1e1bb917c5e16781d089d2e (diff)
downloadlinux-f0afa235685e11fd30e291e4751419c12ba20b84.tar.xz
phy: phy-twl4030-usb: use DEVICE_ATTR_RO macro
Use DEVICE_ATTR_RO helper instead of plain DEVICE_ATTR, which makes the code a bit shorter and easier to read. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20210520135132.37628-1-yuehaibing@huawei.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'lib/kobject_uevent.c')
0 files changed, 0 insertions, 0 deletions