projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WATCHDOG] Coding style - Indentation - part 2
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
watchdog
/
pcwd.c
diff --git
a/drivers/watchdog/pcwd.c
b/drivers/watchdog/pcwd.c
index e1259adf09f97c04cc7acd98db8415e8ecc0f924..134386a888523f96e3c4c596d6f91e829d61e191 100644
(file)
--- a/
drivers/watchdog/pcwd.c
+++ b/
drivers/watchdog/pcwd.c
@@
-612,9
+612,6
@@
static long pcwd_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
};
switch (cmd) {
- default:
- return -ENOTTY;
-
case WDIOC_GETSUPPORT:
if (copy_to_user(argp, &ident, sizeof(ident)))
return -EFAULT;
@@
-669,6
+666,9
@@
static long pcwd_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
case WDIOC_GETTIMEOUT:
return put_user(heartbeat, argp);
+
+ default:
+ return -ENOTTY;
}
return 0;