twl4030_wdt.c (85a3685852d9ac7d92be9d824533c915a4597fa4) twl4030_wdt.c (6551881c86c791237a3bebf11eb3bd70b60ea782)
1/*
2 * Copyright (C) Nokia Corporation
3 *
4 * Written by Timo Kokkonen <timo.t.kokkonen at nokia.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

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

78 return -ENOMEM;
79
80 wdt->info = &twl4030_wdt_info;
81 wdt->ops = &twl4030_wdt_ops;
82 wdt->status = 0;
83 wdt->timeout = 30;
84 wdt->min_timeout = 1;
85 wdt->max_timeout = 30;
1/*
2 * Copyright (C) Nokia Corporation
3 *
4 * Written by Timo Kokkonen <timo.t.kokkonen at nokia.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

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

78 return -ENOMEM;
79
80 wdt->info = &twl4030_wdt_info;
81 wdt->ops = &twl4030_wdt_ops;
82 wdt->status = 0;
83 wdt->timeout = 30;
84 wdt->min_timeout = 1;
85 wdt->max_timeout = 30;
86 wdt->parent = &pdev->dev;
86
87 watchdog_set_nowayout(wdt, nowayout);
88 platform_set_drvdata(pdev, wdt);
89
90 twl4030_wdt_stop(wdt);
91
92 ret = watchdog_register_device(wdt);
93 if (ret)

--- 60 unchanged lines hidden ---
87
88 watchdog_set_nowayout(wdt, nowayout);
89 platform_set_drvdata(pdev, wdt);
90
91 twl4030_wdt_stop(wdt);
92
93 ret = watchdog_register_device(wdt);
94 if (ret)

--- 60 unchanged lines hidden ---