diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2009-03-18 09:35:09 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2009-03-25 10:07:04 +0100 |
commit | 143a2e54bf53216674eada16e8953f48b159e08a (patch) | |
tree | 009497fad6a7d28aae80f490007ce78736afb82c /drivers/watchdog/at91sam9_wdt.c | |
parent | [WATCHDOG] struct file_operations should be const (diff) | |
download | linux-143a2e54bf53216674eada16e8953f48b159e08a.tar.xz linux-143a2e54bf53216674eada16e8953f48b159e08a.zip |
[WATCHDOG] More coding-style and trivial clean-up
Some more cleaning-up of the watchdog drivers.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/at91sam9_wdt.c')
-rw-r--r-- | drivers/watchdog/at91sam9_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c index a56ac84381b1..435b0573fb0a 100644 --- a/drivers/watchdog/at91sam9_wdt.c +++ b/drivers/watchdog/at91sam9_wdt.c @@ -201,7 +201,7 @@ static long at91_wdt_ioctl(struct file *file, * Pat the watchdog whenever device is written to. */ static ssize_t at91_wdt_write(struct file *file, const char *data, size_t len, - loff_t *ppos) + loff_t *ppos) { if (!len) return 0; |