leds: lp55xx: Fix file permissions to use DEVICE_ATTR macros
authorDan Murphy <dmurphy@ti.com>
Mon, 13 Jul 2020 15:45:29 +0000 (10:45 -0500)
committerPavel Machek <pavel@ucw.cz>
Wed, 15 Jul 2020 17:32:38 +0000 (19:32 +0200)
commit7e6f7f3ac30c43f8a5f91846a3b2dc8799ea5744
tree4f62a70ce9d3bf559104562129db5f583ed684e8
parentcf1a1a6a7d81d73bcb5568b23572d6fd593add87
leds: lp55xx: Fix file permissions to use DEVICE_ATTR macros

Fix the checkpatch warnings for the use of the file permission macros.
In converting the file permissions to the DEVICE_ATTR_XX macros the
call back function names needed to be updated within the code.

This means that the lp55xx_ needed to be dropped in the name to keep in
harmony with the ABI documentation.

Acked-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-lp55xx-common.c