Skip to contentSkip to conversation

backlight: ep93xx_bl: remove duplicated header include

PATCH In review Jingoo Han 3 participants 3 messages Dec 12, 2011

Subsystems (2)
lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

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
index c74a6f4..4893dff 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Jingoo Han

This patch removes duplicated module header for EP93xx backlight driver.
drivers/video/backlight/ep93xx_bl.c: module.h is included more than once.

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...

#2 lore raw
In reply to Jingoo Han
Quoted 15 lines · Jingoo Han

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 -0
index c74a6f4..4893dff 100644

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>