[-next] i2c: remove duplicated include from i2c-digicolor.c
diff mbox

Message ID 1429189812-24079-1-git-send-email-weiyj_lk@163.com
State Changes Requested
Headers show

Commit Message

weiyj_lk@163.com April 16, 2015, 1:10 p.m. UTC
From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>

Remove duplicated include.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
---
 drivers/i2c/busses/i2c-digicolor.c | 1 -
 1 file changed, 1 deletion(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Wolfram Sang April 16, 2015, 1:21 p.m. UTC | #1
On Thu, Apr 16, 2015 at 09:10:12PM +0800, weiyj_lk@163.com wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> 
> Remove duplicated include.
> 
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>

Yes, but please sort the includes to prevent this from happening again
in the future.
Wolfram Sang April 22, 2015, 8:19 a.m. UTC | #2
On Thu, Apr 16, 2015 at 03:21:14PM +0200, Wolfram Sang wrote:
> On Thu, Apr 16, 2015 at 09:10:12PM +0800, weiyj_lk@163.com wrote:
> > From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> > 
> > Remove duplicated include.
> > 
> > Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> 
> Yes, but please sort the includes to prevent this from happening again
> in the future.

Did this now. Thanks for reporting!

Patch
diff mbox

diff --git a/drivers/i2c/busses/i2c-digicolor.c b/drivers/i2c/busses/i2c-digicolor.c
index 03f1e55..950501d 100644
--- a/drivers/i2c/busses/i2c-digicolor.c
+++ b/drivers/i2c/busses/i2c-digicolor.c
@@ -15,7 +15,6 @@ 
 #include <linux/i2c.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>
-#include <linux/clk.h>
 #include <linux/delay.h>
 #include <linux/kernel.h>
 #include <linux/module.h>