1 --- a/drivers/leds/leds-gpio.c
2 +++ b/drivers/leds/leds-gpio.c
4 container_of(led_cdev, struct gpio_led_data, cdev);
7 - if (value == LED_OFF)
12 - if (led_dat->active_low)
16 + level = led_dat->active_low ? 1 : 0;
19 + level = led_dat->active_low ? 0 : 1;
26 /* setting GPIOs with I2C/etc requires a preemptible task context */
27 if (led_dat->can_sleep) {