diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2015-12-16 21:13:49 +0100 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2016-01-04 09:57:40 +0100 |
commit | 1259efaab84fbc0a307477e0d2734793aa556814 (patch) | |
tree | 7cd40cbd82c49ed1774fab145fc8b35dc8682d65 /drivers/leds/leds-bcm6358.c | |
parent | 1b85a5a5ef34a64c5c5edece1704bde62208f002 (diff) |
leds: bcm6358: remove unneeded busy status check
The busy status checking isn't needed while reading initial LED status.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers/leds/leds-bcm6358.c')
-rw-r--r-- | drivers/leds/leds-bcm6358.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/leds/leds-bcm6358.c b/drivers/leds/leds-bcm6358.c index 7413e3e71213..b2cc06618abe 100644 --- a/drivers/leds/leds-bcm6358.c +++ b/drivers/leds/leds-bcm6358.c @@ -123,9 +123,6 @@ static int bcm6358_led(struct device *dev, struct device_node *nc, u32 reg, led->cdev.brightness = LED_FULL; } else if (!strcmp(state, "keep")) { unsigned long val; - - bcm6358_led_busy(led->mem); - val = bcm6358_led_read(led->mem + BCM6358_REG_MODE); val &= BIT(led->pin); if ((led->active_low && !val) || |