summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds.h
diff options
context:
space:
mode:
authorShuah Khan <shuahkhan@gmail.com>2012-06-13 04:01:37 +0200
committerBryan Wu <bryan.wu@canonical.com>2012-07-24 01:52:34 +0200
commit0da3e65ba892b8c63d55fa5ec197b6fae55f75f8 (patch)
tree2df9324b199abaa542854297611e0c815517f51f /drivers/leds/leds.h
parentleds: add oneshot trigger (diff)
downloadlinux-0da3e65ba892b8c63d55fa5ec197b6fae55f75f8.tar.xz
linux-0da3e65ba892b8c63d55fa5ec197b6fae55f75f8.zip
leds: Rename led_set_brightness() to __led_set_brightness()
Rename leds internal interface led_set_brightness() to __led_set_brightness() to reduce confusion between led_set_brightness() and the external interface led_brightness_set(). led_brightness_set() cancels the timer and then calls led_set_brightness(). Signed-off-by: Shuah Khan <shuahkhan@gmail.com> Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Diffstat (limited to 'drivers/leds/leds.h')
-rw-r--r--drivers/leds/leds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds.h b/drivers/leds/leds.h
index e77c7f8dcdd4..d02acd496126 100644
--- a/drivers/leds/leds.h
+++ b/drivers/leds/leds.h
@@ -17,7 +17,7 @@
#include <linux/rwsem.h>
#include <linux/leds.h>
-static inline void led_set_brightness(struct led_classdev *led_cdev,
+static inline void __led_set_brightness(struct led_classdev *led_cdev,
enum led_brightness value)
{
if (value > led_cdev->max_brightness)