aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/led-core.c
diff options
context:
space:
mode:
authorShuah Khan <shuahkhan@gmail.com>2012-06-13 16:34:30 -0400
committerBryan Wu <bryan.wu@canonical.com>2012-07-23 19:52:34 -0400
commit19cd67e2d51225b164560b54b85f943e07deee8a (patch)
treecadec9758a57fe2a805081e47f0439c870deb6d0 /drivers/leds/led-core.c
parent0da3e65ba892b8c63d55fa5ec197b6fae55f75f8 (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/led-core.c')
-rw-r--r--drivers/leds/led-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/led-core.c b/drivers/leds/led-core.c
index 176961b2db6b..8a09c5fc2a6d 100644
--- a/drivers/leds/led-core.c
+++ b/drivers/leds/led-core.c
@@ -103,7 +103,7 @@ void led_blink_set_oneshot(struct led_classdev *led_cdev,
103} 103}
104EXPORT_SYMBOL(led_blink_set_oneshot); 104EXPORT_SYMBOL(led_blink_set_oneshot);
105 105
106void led_brightness_set(struct led_classdev *led_cdev, 106void led_set_brightness(struct led_classdev *led_cdev,
107 enum led_brightness brightness) 107 enum led_brightness brightness)
108{ 108{
109 /* stop and clear soft-blink timer */ 109 /* stop and clear soft-blink timer */
@@ -113,4 +113,4 @@ void led_brightness_set(struct led_classdev *led_cdev,
113 113
114 __led_set_brightness(led_cdev, brightness); 114 __led_set_brightness(led_cdev, brightness);
115} 115}
116EXPORT_SYMBOL(led_brightness_set); 116EXPORT_SYMBOL(led_set_brightness);