summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDwaipayan Ray <dwaipayanray1@gmail.com>2020-12-14 11:12:05 +0530
committerPavel Machek <pavel@ucw.cz>2020-12-30 19:37:13 +0100
commit5ccfa39ddd474fc2edc844539528d10f5f462b54 (patch)
treef9a32bac3bb102ab2f8fce6d017834026311f03c /lib
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (diff)
downloadlinux-5ccfa39ddd474fc2edc844539528d10f5f462b54.tar.bz2
leds: Use DEVICE_ATTR_{RW, RO, WO} macros
Instead of open coding DEVICE_ATTR() defines, use the DEVICE_ATTR_RW(), DEVICE_ATTR_WO(), and DEVICE_ATTR_RO() macros. This required a few functions to be renamed, but the functionality itself is unchanged. Reviewed-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Signed-off-by: Dwaipayan Ray <dwaipayanray1@gmail.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions