leds: core: fix misleading comment after workqueue removal from drivers
Now that workqueues have been removed from individual drivers and were replaced with a core-internal workqueue we shouldn't encourage people to add new workqueues to drivers. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
This commit is contained in:
parent
b562e44f50
commit
70b2563b35
|
@ -49,8 +49,10 @@ struct led_classdev {
|
||||||
#define LED_SYSFS_DISABLE (1 << 22)
|
#define LED_SYSFS_DISABLE (1 << 22)
|
||||||
#define LED_DEV_CAP_FLASH (1 << 23)
|
#define LED_DEV_CAP_FLASH (1 << 23)
|
||||||
|
|
||||||
/* Set LED brightness level */
|
/* Set LED brightness level
|
||||||
/* Must not sleep, use a workqueue if needed */
|
* Must not sleep. Use brightness_set_blocking for drivers
|
||||||
|
* that can sleep while setting brightness.
|
||||||
|
*/
|
||||||
void (*brightness_set)(struct led_classdev *led_cdev,
|
void (*brightness_set)(struct led_classdev *led_cdev,
|
||||||
enum led_brightness brightness);
|
enum led_brightness brightness);
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue