diff options
author | Ian Wisbon <ian.wisbon@timesys.com> | 2011-02-14 16:41:03 -0500 |
---|---|---|
committer | Ian Wisbon <ian.wisbon@timesys.com> | 2011-02-14 16:41:03 -0500 |
commit | 8a83780a187ba1961380814eaf9c503043345d12 (patch) | |
tree | 80f5d89cca49330e137688c72fb10c9f42dc5663 /drivers/leds | |
parent | 14a4057959f8ee0a2249eb2abd64fd6b1f571d98 (diff) |
Digi Release Code from del-5.6/main2.6.31-digi-201102141643
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-mxs-pwm.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/leds/leds-mxs-pwm.c b/drivers/leds/leds-mxs-pwm.c index a546900a44d0..c76821770446 100644 --- a/drivers/leds/leds-mxs-pwm.c +++ b/drivers/leds/leds-mxs-pwm.c @@ -165,35 +165,10 @@ static int __devexit mxs_pwm_led_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM -static int mxs_led_suspend(struct platform_device *dev, pm_message_t state) -{ - int i; - - for (i = 0; i < leds.led_num; i++) - led_classdev_suspend(&leds.leds[i].dev); - return 0; -} - -static int mxs_led_resume(struct platform_device *dev) -{ - int i; - - for (i = 0; i < leds.led_num; i++) - led_classdev_resume(&leds.leds[i].dev); - return 0; -} -#else -#define mxs_led_suspend NULL -#define mxs_led_resume NULL -#endif - static struct platform_driver mxs_pwm_led_driver = { .probe = mxs_pwm_led_probe, .remove = __devexit_p(mxs_pwm_led_remove), - .suspend = mxs_led_suspend, - .resume = mxs_led_resume, .driver = { .name = "mxs-leds", }, |