wm8350_wdt.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) wm8350_wdt.c (216f3ad9aa5731024b9c96e63b676f9f65078dd5)
1/*
2 * Watchdog driver for the wm8350
3 *
4 * Copyright (C) 2007, 2008 Wolfson Microelectronics <linux@wolfsonmicro.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation

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

306static struct platform_driver wm8350_wdt_driver = {
307 .probe = wm8350_wdt_probe,
308 .remove = __devexit_p(wm8350_wdt_remove),
309 .driver = {
310 .name = "wm8350-wdt",
311 },
312};
313
1/*
2 * Watchdog driver for the wm8350
3 *
4 * Copyright (C) 2007, 2008 Wolfson Microelectronics <linux@wolfsonmicro.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation

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

306static struct platform_driver wm8350_wdt_driver = {
307 .probe = wm8350_wdt_probe,
308 .remove = __devexit_p(wm8350_wdt_remove),
309 .driver = {
310 .name = "wm8350-wdt",
311 },
312};
313
314static int __init wm8350_wdt_init(void)
315{
316 return platform_driver_register(&wm8350_wdt_driver);
317}
318module_init(wm8350_wdt_init);
314module_platform_driver(wm8350_wdt_driver);
319
315
320static void __exit wm8350_wdt_exit(void)
321{
322 platform_driver_unregister(&wm8350_wdt_driver);
323}
324module_exit(wm8350_wdt_exit);
325
326MODULE_AUTHOR("Mark Brown");
327MODULE_DESCRIPTION("WM8350 Watchdog");
328MODULE_LICENSE("GPL");
329MODULE_ALIAS("platform:wm8350-wdt");
316MODULE_AUTHOR("Mark Brown");
317MODULE_DESCRIPTION("WM8350 Watchdog");
318MODULE_LICENSE("GPL");
319MODULE_ALIAS("platform:wm8350-wdt");