]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/leds/leds-gpio.c
KARO: cleanup after merge of Freescale 3.10.17 stuff
[karo-tx-linux.git] / drivers / leds / leds-gpio.c
index 5650e487d8a6465a58762b2f1e2f74f7faf63056..57ff20fecf57e16e9963db1692206b923593258f 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2007 8D Technologies inc.
  * Raphael Assenat <raph@8d.com>
- * Copyright (C) 2008, 2014 Freescale Semiconductor, Inc.
+ * Copyright (C) 2008 Freescale Semiconductor, Inc.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
@@ -202,8 +202,6 @@ static struct gpio_leds_priv *gpio_leds_create_of(struct platform_device *pdev)
                        else
                                led.default_state = LEDS_GPIO_DEFSTATE_OFF;
                }
-               if (of_get_property(child, "retain-state-suspended", NULL))
-                       led.retain_state_suspended = 1;
 
                if (of_get_property(child, "retain-state-suspended", NULL))
                        led.retain_state_suspended = 1;