diff options
Diffstat (limited to 'drivers/video/backlight/ep93xx_bl.c')
-rw-r--r-- | drivers/video/backlight/ep93xx_bl.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/video/backlight/ep93xx_bl.c b/drivers/video/backlight/ep93xx_bl.c index c74a6f4baa12..b62b8b9063b5 100644 --- a/drivers/video/backlight/ep93xx_bl.c +++ b/drivers/video/backlight/ep93xx_bl.c | |||
@@ -13,7 +13,6 @@ | |||
13 | 13 | ||
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | #include <linux/platform_device.h> | 15 | #include <linux/platform_device.h> |
16 | #include <linux/module.h> | ||
17 | #include <linux/io.h> | 16 | #include <linux/io.h> |
18 | #include <linux/fb.h> | 17 | #include <linux/fb.h> |
19 | #include <linux/backlight.h> | 18 | #include <linux/backlight.h> |
@@ -144,17 +143,7 @@ static struct platform_driver ep93xxbl_driver = { | |||
144 | .resume = ep93xxbl_resume, | 143 | .resume = ep93xxbl_resume, |
145 | }; | 144 | }; |
146 | 145 | ||
147 | static int __init ep93xxbl_init(void) | 146 | module_platform_driver(ep93xxbl_driver); |
148 | { | ||
149 | return platform_driver_register(&ep93xxbl_driver); | ||
150 | } | ||
151 | module_init(ep93xxbl_init); | ||
152 | |||
153 | static void __exit ep93xxbl_exit(void) | ||
154 | { | ||
155 | platform_driver_unregister(&ep93xxbl_driver); | ||
156 | } | ||
157 | module_exit(ep93xxbl_exit); | ||
158 | 147 | ||
159 | MODULE_DESCRIPTION("EP93xx Backlight Driver"); | 148 | MODULE_DESCRIPTION("EP93xx Backlight Driver"); |
160 | MODULE_AUTHOR("H Hartley Sweeten <hsweeten@visionengravers.com>"); | 149 | MODULE_AUTHOR("H Hartley Sweeten <hsweeten@visionengravers.com>"); |