Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296944
b: refs/heads/master
c: de05497
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Jean Delvare committed Mar 26, 2012
1 parent 949bc37 commit 30db033
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 84c1af4c21d645a02a4780cdf61c7551d8e7bb56
refs/heads/master: de05497aab22b515ff02988634eab59848410a25
13 changes: 1 addition & 12 deletions trunk/drivers/i2c/muxes/pca9541.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,18 +393,7 @@ static struct i2c_driver pca9541_driver = {
.id_table = pca9541_id,
};

static int __init pca9541_init(void)
{
return i2c_add_driver(&pca9541_driver);
}

static void __exit pca9541_exit(void)
{
i2c_del_driver(&pca9541_driver);
}

module_init(pca9541_init);
module_exit(pca9541_exit);
module_i2c_driver(pca9541_driver);

MODULE_AUTHOR("Guenter Roeck <guenter.roeck@ericsson.com>");
MODULE_DESCRIPTION("PCA9541 I2C master selector driver");
Expand Down
13 changes: 1 addition & 12 deletions trunk/drivers/i2c/muxes/pca954x.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,18 +284,7 @@ static struct i2c_driver pca954x_driver = {
.id_table = pca954x_id,
};

static int __init pca954x_init(void)
{
return i2c_add_driver(&pca954x_driver);
}

static void __exit pca954x_exit(void)
{
i2c_del_driver(&pca954x_driver);
}

module_init(pca954x_init);
module_exit(pca954x_exit);
module_i2c_driver(pca954x_driver);

MODULE_AUTHOR("Rodolfo Giometti <giometti@linux.it>");
MODULE_DESCRIPTION("PCA954x I2C mux/switch driver");
Expand Down

0 comments on commit 30db033

Please sign in to comment.