leds: core: Move LED core callbacks out of led-class.c
authorJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 28 Sep 2015 12:38:04 +0000 (14:38 +0200)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Tue, 3 Nov 2015 07:59:22 +0000 (08:59 +0100)
commit757b06ae04b3b6c8958ab067e879a8865d076d2a
treec210be20cf1c644e2c156acf216f2734526c8cfa
parent22a16873d38829570677871a22cf77f00445206f
leds: core: Move LED core callbacks out of led-class.c

Since the API for controlling LED brightness and blinking is defined in
the LED core, move the related timer and work callbacks to the led-core.c,
and initialize them through a new led_core_init API.

Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/led-class.c
drivers/leds/led-core.c
drivers/leds/leds.h