Skip to content
Commit 5fe09e16 authored by Tian Tao's avatar Tian Tao Committed by Pavel Machek
Browse files

leds: trigger: pattern: Switch to using the new API kobj_to_dev()



Switch to using the new API kobj_to_dev() to fix the below warnning:
./drivers/leds/trigger/ledtrig-pattern.c:336:60-61: WARNING opportunity
for kobj_to_dev()

Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent 1cfa807b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment