backlight: ep93xx_bl: remove duplicated header include
Subsystems (2)
PATCH 1/1 backlight: ep93xx_bl: remove duplicated header include
This patch removes duplicated module header for EP93xx backlight driver.drivers/video/backlight/ep93xx_bl.c: module.h is included more than once.
--- drivers/video/backlight/ep93xx_bl.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/video/backlight/ep93xx_bl.c +0 -2
@@ -10,10 +10,8 @@* This driver controls the pulse width modulated brightness control output, * BRIGHT, on the Cirrus EP9307, EP9312, and EP9315 processors. */ -#include <linux/module.h> #include <linux/platform_device.h> -#include <linux/module.h> #include <linux/io.h> #include <linux/fb.h> #include <linux/backlight.h>
Signature · 1 line
1.7.1
Quoted 7 lines · Jingoo Han
This patch removes duplicated module header for EP93xx backlight driver.
drivers/video/backlight/ep93xx_bl.c:module.his included more than once.Signed-off-by Jingoo Han <[email protected]>
Hmm.. Looks like there were two commits that add it...
commit 15b1a8f2b990c0c1dacfad0e5ccaf05c32c52147
Author: Axel Lin <[email protected]> Date: Thu Aug 25 15:59:14 2011 -0700
drivers/video/backlight/ep93xx_bl.c: add missing include of linux/module.h
commit 355b200bacdb6017669cdc5bc9e7b1037aac42a2
Author: Paul Gortmaker <[email protected]> Date: Sun Jul 3 16:17:28 2011 -0400
video: Add module.h to drivers/video files who really use it.
It is needed, but there should only be one so...
Quoted 15 lines · Jingoo Han
This patch removes duplicated module header for EP93xx backlight driver.
drivers/video/backlight/ep93xx_bl.c:module.his included more than once.Signed-off-by Jingoo Han <[email protected]>--- drivers/video/backlight/ep93xx_bl.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)drivers/video/backlight/ep93xx_bl.c +0
-0
drivers/video/backlight/ep93xx_bl.c line 13
Quoted 4 lines
drivers/video/backlight/ep93xx_bl.c +0
-1@@ -10,10 +10,8 @@* This driver controls the pulse width modulated brightness control output, * BRIGHT, on the Cirrus EP9307, EP9312, and EP9315 processors. */ -
Please don't remove the blank line between the header comment and the first include.
~Ryan
Quoted 6 lines
drivers/video/backlight/ep93xx_bl.c +0
-1#include <linux/module.h> #include <linux/platform_device.h> -#include <linux/module.h> #include <linux/io.h> #include <linux/fb.h> #include <linux/backlight.h>