]> git.baikalelectronics.ru Git - kernel.git/commit
leds-atmel-pwm.c: Make pwmled_probe() __devinit
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 6 Apr 2012 10:52:53 +0000 (12:52 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 17 Apr 2012 14:29:31 +0000 (16:29 +0200)
commit5d8318d56b2f3173846d7b2b704acef103c5685c
tree74f654f30d5ee0fd56de3ddfb7b759753c4a92bc
parented5d10c14d2055647d1658832cd9edef82cc6426
leds-atmel-pwm.c: Make pwmled_probe() __devinit

Commit b036d8d (leds: convert led platform drivers to module_platform_driver)
is omitting the section mismatch error: so change annotation of the probe
function to __devinit instead of __init.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
drivers/leds/leds-atmel-pwm.c