wm8974.c (9a64e8e0ace51b309fdcff4b4754b3649250382a) wm8974.c (2be59418f76dac590b98027586ac1714be17fcae)
1/*
2 * wm8974.c -- WM8974 ALSA Soc Audio driver
3 *
4 * Copyright 2006-2009 Wolfson Microelectronics PLC.
5 *
6 * Author: Liam Girdwood <Liam.Girdwood@wolfsonmicro.com>
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 645 unchanged lines hidden (view full) ---

654 .name = "wm8974",
655 .owner = THIS_MODULE,
656 },
657 .probe = wm8974_i2c_probe,
658 .remove = __devexit_p(wm8974_i2c_remove),
659 .id_table = wm8974_i2c_id,
660};
661
1/*
2 * wm8974.c -- WM8974 ALSA Soc Audio driver
3 *
4 * Copyright 2006-2009 Wolfson Microelectronics PLC.
5 *
6 * Author: Liam Girdwood <Liam.Girdwood@wolfsonmicro.com>
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 645 unchanged lines hidden (view full) ---

654 .name = "wm8974",
655 .owner = THIS_MODULE,
656 },
657 .probe = wm8974_i2c_probe,
658 .remove = __devexit_p(wm8974_i2c_remove),
659 .id_table = wm8974_i2c_id,
660};
661
662static int __init wm8974_modinit(void)
663{
664 int ret = 0;
665 ret = i2c_add_driver(&wm8974_i2c_driver);
666 if (ret != 0) {
667 printk(KERN_ERR "Failed to register wm8974 I2C driver: %d\n",
668 ret);
669 }
670 return ret;
671}
672module_init(wm8974_modinit);
662module_i2c_driver(wm8974_i2c_driver);
673
663
674static void __exit wm8974_exit(void)
675{
676 i2c_del_driver(&wm8974_i2c_driver);
677}
678module_exit(wm8974_exit);
679
680MODULE_DESCRIPTION("ASoC WM8974 driver");
681MODULE_AUTHOR("Liam Girdwood");
682MODULE_LICENSE("GPL");
664MODULE_DESCRIPTION("ASoC WM8974 driver");
665MODULE_AUTHOR("Liam Girdwood");
666MODULE_LICENSE("GPL");