leds: lm3533: Switch to using the new API kobj_to_dev()
authorTian Tao <tiantao6@hisilicon.com>
Mon, 30 Nov 2020 01:19:28 +0000 (09:19 +0800)
committerPavel Machek <pavel@ucw.cz>
Wed, 3 Feb 2021 14:34:37 +0000 (15:34 +0100)
commit6c3384d8f408548df74d27bfa0c95c47988f1480
tree6ef6c4f505544c2ed43d6a290fe2c928797b35e4
parent66898f3fe906364e36fddd5d6292d52022357cf4
leds: lm3533: Switch to using the new API kobj_to_dev()

fixed the following coccicheck:
drivers/leds/leds-lm3533.c:611:60-61: WARNING opportunity for kobj_to_dev().

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-lm3533.c