leds: Convert from struct class_device to struct device
Convert the LEDs class from struct class_device to struct device since class_device is scheduled for removal. Signed-off-by:Richard Purdie <rpurdie@rpsys.net> Acked-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
- drivers/leds/led-class.c 22 additions, 27 deletionsdrivers/leds/led-class.c
- drivers/leds/led-triggers.c 7 additions, 6 deletionsdrivers/leds/led-triggers.c
- drivers/leds/leds-locomo.c 1 addition, 1 deletiondrivers/leds/leds-locomo.c
- drivers/leds/leds.h 5 additions, 3 deletionsdrivers/leds/leds.h
- drivers/leds/ledtrig-timer.c 23 additions, 26 deletionsdrivers/leds/ledtrig-timer.c
- include/linux/leds.h 1 addition, 2 deletionsinclude/linux/leds.h
Loading
Please register or sign in to comment