diff options
Diffstat (limited to 'drivers/i2c/muxes/pca9541.c')
-rw-r--r-- | drivers/i2c/muxes/pca9541.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/i2c/muxes/pca9541.c b/drivers/i2c/muxes/pca9541.c index ed699c5aa79d..e0df9b6c66b3 100644 --- a/drivers/i2c/muxes/pca9541.c +++ b/drivers/i2c/muxes/pca9541.c | |||
@@ -393,18 +393,7 @@ static struct i2c_driver pca9541_driver = { | |||
393 | .id_table = pca9541_id, | 393 | .id_table = pca9541_id, |
394 | }; | 394 | }; |
395 | 395 | ||
396 | static int __init pca9541_init(void) | 396 | module_i2c_driver(pca9541_driver); |
397 | { | ||
398 | return i2c_add_driver(&pca9541_driver); | ||
399 | } | ||
400 | |||
401 | static void __exit pca9541_exit(void) | ||
402 | { | ||
403 | i2c_del_driver(&pca9541_driver); | ||
404 | } | ||
405 | |||
406 | module_init(pca9541_init); | ||
407 | module_exit(pca9541_exit); | ||
408 | 397 | ||
409 | MODULE_AUTHOR("Guenter Roeck <guenter.roeck@ericsson.com>"); | 398 | MODULE_AUTHOR("Guenter Roeck <guenter.roeck@ericsson.com>"); |
410 | MODULE_DESCRIPTION("PCA9541 I2C master selector driver"); | 399 | MODULE_DESCRIPTION("PCA9541 I2C master selector driver"); |