wm8350_wdt.c (bf61c8840efe60fd8f91446860b63338fb424158) | wm8350_wdt.c (6551881c86c791237a3bebf11eb3bd70b60ea782) |
---|---|
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 --- 137 unchanged lines hidden (view full) --- 146 147 if (!wm8350) { 148 pr_err("No driver data supplied\n"); 149 return -ENODEV; 150 } 151 152 watchdog_set_nowayout(&wm8350_wdt, nowayout); 153 watchdog_set_drvdata(&wm8350_wdt, wm8350); | 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 --- 137 unchanged lines hidden (view full) --- 146 147 if (!wm8350) { 148 pr_err("No driver data supplied\n"); 149 return -ENODEV; 150 } 151 152 watchdog_set_nowayout(&wm8350_wdt, nowayout); 153 watchdog_set_drvdata(&wm8350_wdt, wm8350); |
154 wm8350_wdt.parent = &pdev->dev; |
|
154 155 /* Default to 4s timeout */ 156 wm8350_wdt_set_timeout(&wm8350_wdt, 4); 157 158 return watchdog_register_device(&wm8350_wdt); 159} 160 161static int wm8350_wdt_remove(struct platform_device *pdev) --- 19 unchanged lines hidden --- | 155 156 /* Default to 4s timeout */ 157 wm8350_wdt_set_timeout(&wm8350_wdt, 4); 158 159 return watchdog_register_device(&wm8350_wdt); 160} 161 162static int wm8350_wdt_remove(struct platform_device *pdev) --- 19 unchanged lines hidden --- |