i2c: Drop I2C_CLIENT_INSMOD_1
This macro simply declares an enum, so drivers might as well declare it themselves. Signed-off-by: Jean Delvare <khali@linux-fr.org> Tested-by: Wolfram Sang <w.sang@pengutronix.de>
This commit is contained in:
@@ -32,9 +32,6 @@
|
||||
/* Addresses to scan */
|
||||
static const unsigned short normal_i2c[] = { 0x2C, 0x2D, 0x2E, I2C_CLIENT_END };
|
||||
|
||||
/* Insmod parameters */
|
||||
I2C_CLIENT_INSMOD_1(adt7473);
|
||||
|
||||
/* ADT7473 registers */
|
||||
#define ADT7473_REG_BASE_ADDR 0x20
|
||||
|
||||
@@ -171,7 +168,7 @@ static int adt7473_detect(struct i2c_client *client,
|
||||
static int adt7473_remove(struct i2c_client *client);
|
||||
|
||||
static const struct i2c_device_id adt7473_id[] = {
|
||||
{ "adt7473", adt7473 },
|
||||
{ "adt7473", 0 },
|
||||
{ }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user