Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293342
b: refs/heads/master
c: 2dbc34d
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Feb 13, 2012
1 parent 68421f1 commit 654aab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 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: dd7d3a2417ba3358dfeb10c085c4d38035d352d4
refs/heads/master: 2dbc34d827d17e2f4926d4424b5e41c25c70238a
23 changes: 1 addition & 22 deletions trunk/sound/soc/codecs/wm9081.c
Original file line number Diff line number Diff line change
Expand Up @@ -1435,28 +1435,7 @@ static struct i2c_driver wm9081_i2c_driver = {
};
#endif

static int __init wm9081_modinit(void)
{
int ret = 0;
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
ret = i2c_add_driver(&wm9081_i2c_driver);
if (ret != 0) {
printk(KERN_ERR "Failed to register WM9081 I2C driver: %d\n",
ret);
}
#endif
return ret;
}
module_init(wm9081_modinit);

static void __exit wm9081_exit(void)
{
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
i2c_del_driver(&wm9081_i2c_driver);
#endif
}
module_exit(wm9081_exit);

module_i2c_driver(wm9081_i2c_driver);

MODULE_DESCRIPTION("ASoC WM9081 driver");
MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>");
Expand Down

0 comments on commit 654aab2

Please sign in to comment.