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:
@@ -52,7 +52,6 @@ static const unsigned short normal_i2c[] = { 0x2c, 0x2d, 0x2e, 0x2f,
|
||||
I2C_CLIENT_END };
|
||||
|
||||
/* Insmod parameters */
|
||||
I2C_CLIENT_INSMOD_1(w83791d);
|
||||
|
||||
static unsigned short force_subclients[4];
|
||||
module_param_array(force_subclients, short, NULL, 0);
|
||||
@@ -341,7 +340,7 @@ static void w83791d_print_debug(struct w83791d_data *data, struct device *dev);
|
||||
static void w83791d_init_client(struct i2c_client *client);
|
||||
|
||||
static const struct i2c_device_id w83791d_id[] = {
|
||||
{ "w83791d", w83791d },
|
||||
{ "w83791d", 0 },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, w83791d_id);
|
||||
|
Viittaa uudesa ongelmassa
Block a user