Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332037
b: refs/heads/master
c: a5c8878
h: refs/heads/master
i:
  332035: 3dde379
v: v3
  • Loading branch information
Sachin Kamat authored and Mark Brown committed Aug 27, 2012
1 parent 29a18bc commit 3de0589
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 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: 9bb280a2eb9f4bc951549dceb1d4e0b0a316eb95
refs/heads/master: a5c8878017dd3b51f6f97a36d90c405f8061fe83
19 changes: 1 addition & 18 deletions trunk/sound/soc/codecs/wm8770.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,24 +724,7 @@ static struct spi_driver wm8770_spi_driver = {
.remove = __devexit_p(wm8770_spi_remove)
};

static int __init wm8770_modinit(void)
{
int ret = 0;

ret = spi_register_driver(&wm8770_spi_driver);
if (ret) {
printk(KERN_ERR "Failed to register wm8770 SPI driver: %d\n",
ret);
}
return ret;
}
module_init(wm8770_modinit);

static void __exit wm8770_exit(void)
{
spi_unregister_driver(&wm8770_spi_driver);
}
module_exit(wm8770_exit);
module_spi_driver(wm8770_spi_driver);

MODULE_DESCRIPTION("ASoC WM8770 driver");
MODULE_AUTHOR("Dimitris Papastamos <dp@opensource.wolfsonmicro.com>");
Expand Down

0 comments on commit 3de0589

Please sign in to comment.