leds: lm355x: rename devAttr to avoid CamelCase
[linux-3.10.git] / drivers / leds / ledtrig-gpio.c
index f057c10..72e3ebf 100644 (file)
@@ -54,12 +54,12 @@ static void gpio_trig_work(struct work_struct *work)
 
        if (tmp) {
                if (gpio_data->desired_brightness)
-                       led_set_brightness(gpio_data->led,
+                       __led_set_brightness(gpio_data->led,
                                           gpio_data->desired_brightness);
                else
-                       led_set_brightness(gpio_data->led, LED_FULL);
+                       __led_set_brightness(gpio_data->led, LED_FULL);
        } else {
-               led_set_brightness(gpio_data->led, LED_OFF);
+               __led_set_brightness(gpio_data->led, LED_OFF);
        }
 }
 
@@ -110,7 +110,7 @@ static ssize_t gpio_trig_inverted_store(struct device *dev,
        unsigned long inverted;
        int ret;
 
-       ret = strict_strtoul(buf, 10, &inverted);
+       ret = kstrtoul(buf, 10, &inverted);
        if (ret < 0)
                return ret;