aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/leds.h
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 /include/linux/leds.h
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 'include/linux/leds.h')
-rw-r--r--include/linux/leds.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h
index dd93a22044bb..3aade1d8f410 100644
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
@@ -124,7 +124,7 @@ extern void led_blink_set_oneshot(struct led_classdev *led_cdev,
124 unsigned long *delay_off, 124 unsigned long *delay_off,
125 int invert); 125 int invert);
126/** 126/**
127 * led_brightness_set - set LED brightness 127 * led_set_brightness - set LED brightness
128 * @led_cdev: the LED to set 128 * @led_cdev: the LED to set
129 * @brightness: the brightness to set it to 129 * @brightness: the brightness to set it to
130 * 130 *
@@ -132,7 +132,7 @@ extern void led_blink_set_oneshot(struct led_classdev *led_cdev,
132 * software blink timer that implements blinking when the 132 * software blink timer that implements blinking when the
133 * hardware doesn't. 133 * hardware doesn't.
134 */ 134 */
135extern void led_brightness_set(struct led_classdev *led_cdev, 135extern void led_set_brightness(struct led_classdev *led_cdev,
136 enum led_brightness brightness); 136 enum led_brightness brightness);
137 137
138/* 138/*