Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308711
b: refs/heads/master
c: ceb57d2
h: refs/heads/master
i:
  308709: 2c0771d
  308707: 690348c
  308703: ecfe3c2
v: v3
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed May 7, 2012
1 parent fbdb2aa commit 31ea513
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: cc7a727941193e3e59be2e9f6522eb78bc7ee909
refs/heads/master: ceb57d27e28a8f979cbfd6391b7da6da51484059
18 changes: 1 addition & 17 deletions trunk/drivers/mfd/wm8994-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,23 +733,7 @@ static struct i2c_driver wm8994_i2c_driver = {
.id_table = wm8994_i2c_id,
};

static int __init wm8994_i2c_init(void)
{
int ret;

ret = i2c_add_driver(&wm8994_i2c_driver);
if (ret != 0)
pr_err("Failed to register wm8994 I2C driver: %d\n", ret);

return ret;
}
module_init(wm8994_i2c_init);

static void __exit wm8994_i2c_exit(void)
{
i2c_del_driver(&wm8994_i2c_driver);
}
module_exit(wm8994_i2c_exit);
module_i2c_driver(wm8994_i2c_driver);

MODULE_DESCRIPTION("Core support for the WM8994 audio CODEC");
MODULE_LICENSE("GPL");
Expand Down

0 comments on commit 31ea513

Please sign in to comment.