summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-3.10/130-watchdog.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-10 09:06:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-10 09:06:06 +0000
commit0bca3f9547a32788f8c5f18f229b3d09e81a7617 (patch)
tree4641708ce14c626b02b44f26466912615be05603 /target/linux/atheros/patches-3.10/130-watchdog.patch
parentdd31da467f6bb066fbd809097e7d5dc5822d14e1 (diff)
downloadmtk-20170518-0bca3f9547a32788f8c5f18f229b3d09e81a7617.zip
mtk-20170518-0bca3f9547a32788f8c5f18f229b3d09e81a7617.tar.gz
mtk-20170518-0bca3f9547a32788f8c5f18f229b3d09e81a7617.tar.bz2
atheros: spaces fixes
Add missed spaces and remove odd space as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41091
Diffstat (limited to 'target/linux/atheros/patches-3.10/130-watchdog.patch')
-rw-r--r--target/linux/atheros/patches-3.10/130-watchdog.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/atheros/patches-3.10/130-watchdog.patch b/target/linux/atheros/patches-3.10/130-watchdog.patch
index e2c9468..2ae6dcc 100644
--- a/target/linux/atheros/patches-3.10/130-watchdog.patch
+++ b/target/linux/atheros/patches-3.10/130-watchdog.patch
@@ -56,7 +56,7 @@
+static ssize_t
+ar2315_wdt_write(struct file *file, const char __user *data, size_t len, loff_t *ppos)
+{
-+ if(len)
++ if (len)
+ ar2315_wdt_enable();
+ return len;
+}
@@ -64,7 +64,7 @@
+static int
+ar2315_wdt_open(struct inode *inode, struct file *file)
+{
-+ if(in_use)
++ if (in_use)
+ return -EBUSY;
+ ar2315_wdt_enable();
+ in_use = started = 1;
@@ -157,7 +157,7 @@
+ }
+
+ ret = misc_register(&ar2315_wdt_miscdev);
-+ if(ret)
++ if (ret)
+ dev_err(&dev->dev, "failed to register miscdev\n");
+
+out:
@@ -185,7 +185,7 @@
+init_ar2315_wdt(void)
+{
+ int ret = platform_driver_register(&ar2315_wdt_driver);
-+ if(ret)
++ if (ret)
+ pr_err("ar2315_wdt: error registering platfom driver!\n");
+ return ret;
+}