Skip to content
Snippets Groups Projects
Commit f3dc65da authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

i2c: Drivers shouldn't include <linux/i2c-id.h>


Drivers don't need to include <linux/i2c-id.h>, especially not when
they don't use anything that header file provides.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Cc: Michael Hunold <michael@mihu.de>
Acked-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent dfdee5f0
No related branches found
No related tags found
No related merge requests found
...@@ -391,7 +391,6 @@ static int saa7146_i2c_xfer(struct i2c_adapter* adapter, struct i2c_msg *msg, in ...@@ -391,7 +391,6 @@ static int saa7146_i2c_xfer(struct i2c_adapter* adapter, struct i2c_msg *msg, in
/*****************************************************************************/ /*****************************************************************************/
/* i2c-adapter helper functions */ /* i2c-adapter helper functions */
#include <linux/i2c-id.h>
/* exported algorithm data */ /* exported algorithm data */
static struct i2c_algorithm saa7146_algo = { static struct i2c_algorithm saa7146_algo = {
......
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c-id.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <media/ir-core.h> #include <media/ir-core.h>
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include <linux/console.h> #include <linux/console.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/i2c-id.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/pci_ids.h> #include <linux/pci_ids.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment