]> git.karo-electronics.de Git - linux-beck.git/commit
leds: Use module_platform_driver() in leds-max8997.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 3 Jul 2012 11:47:51 +0000 (19:47 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Mon, 23 Jul 2012 23:52:36 +0000 (07:52 +0800)
commit7fafefb86e4d48464b79c125b37b9d472ba253ab
tree958e6d126849bc329ec701d50a55298e7b1d4078
parent2e9117672db9a9fa4339eb6c58cb76018e6b579e
leds: Use module_platform_driver() in leds-max8997.c file

module_platform_driver() makes the code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
drivers/leds/leds-max8997.c