diff options
author | Shuah Khan <shuahkhan@gmail.com> | 2012-06-13 16:34:30 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@canonical.com> | 2012-07-23 19:52:34 -0400 |
commit | 19cd67e2d51225b164560b54b85f943e07deee8a (patch) | |
tree | cadec9758a57fe2a805081e47f0439c870deb6d0 /drivers/leds/ledtrig-timer.c | |
parent | 0da3e65ba892b8c63d55fa5ec197b6fae55f75f8 (diff) |
leds: Rename led_brightness_set() to led_set_brightness()
Rename leds external interface led_brightness_set() to led_set_brightness().
This is the second phase of the change to reduce confusion between the
leds internal and external interfaces that set brightness. With this change,
now the external interface is led_set_brightness(). The first phase renamed
the internal interface led_set_brightness() to __led_set_brightness().
There are no changes to the interface implementations.
Signed-off-by: Shuah Khan <shuahkhan@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Diffstat (limited to 'drivers/leds/ledtrig-timer.c')
-rw-r--r-- | drivers/leds/ledtrig-timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/ledtrig-timer.c b/drivers/leds/ledtrig-timer.c index 9010f7abaf2c..f774d0592204 100644 --- a/drivers/leds/ledtrig-timer.c +++ b/drivers/leds/ledtrig-timer.c | |||
@@ -104,7 +104,7 @@ static void timer_trig_deactivate(struct led_classdev *led_cdev) | |||
104 | } | 104 | } |
105 | 105 | ||
106 | /* Stop blinking */ | 106 | /* Stop blinking */ |
107 | led_brightness_set(led_cdev, LED_OFF); | 107 | led_set_brightness(led_cdev, LED_OFF); |
108 | } | 108 | } |
109 | 109 | ||
110 | static struct led_trigger timer_led_trigger = { | 110 | static struct led_trigger timer_led_trigger = { |