Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316225
b: refs/heads/master
c: 8cb28fd
h: refs/heads/master
i:
  316223: d33b856
v: v3
  • Loading branch information
Mark Brown committed Jun 9, 2012
1 parent f99a29e commit 4addb32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 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: 7d116684945459e98538c797dca37c54ddd89906
refs/heads/master: 8cb28fd6d1e98fe4cf232d7803093a3b7b46e969
18 changes: 1 addition & 17 deletions trunk/sound/soc/codecs/wm8904.c
Original file line number Diff line number Diff line change
Expand Up @@ -2313,23 +2313,7 @@ static struct i2c_driver wm8904_i2c_driver = {
.id_table = wm8904_i2c_id,
};

static int __init wm8904_modinit(void)
{
int ret = 0;
ret = i2c_add_driver(&wm8904_i2c_driver);
if (ret != 0) {
printk(KERN_ERR "Failed to register wm8904 I2C driver: %d\n",
ret);
}
return ret;
}
module_init(wm8904_modinit);

static void __exit wm8904_exit(void)
{
i2c_del_driver(&wm8904_i2c_driver);
}
module_exit(wm8904_exit);
module_i2c_driver(wm8904_i2c_driver);

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

0 comments on commit 4addb32

Please sign in to comment.