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>
This commit is contained in:
@@ -276,7 +276,7 @@ static void ieee80211_stop_tpt_led_trig(struct ieee80211_local *local)
|
||||
|
||||
read_lock(&tpt_trig->trig.leddev_list_lock);
|
||||
list_for_each_entry(led_cdev, &tpt_trig->trig.led_cdevs, trig_list)
|
||||
led_brightness_set(led_cdev, LED_OFF);
|
||||
led_set_brightness(led_cdev, LED_OFF);
|
||||
read_unlock(&tpt_trig->trig.leddev_list_lock);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user