diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:06:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:06:06 +0000 |
commit | f10e6fd9af01ea8281cc8a20d2722250851673b2 (patch) | |
tree | 619048f85f06d4a3624582d70a996ebc88c24684 /target/linux/atheros/patches-3.10/130-watchdog.patch | |
parent | 4348822245705290031f879d45078a4fcc09ab2c (diff) | |
download | master-187ad058-f10e6fd9af01ea8281cc8a20d2722250851673b2.tar.gz master-187ad058-f10e6fd9af01ea8281cc8a20d2722250851673b2.tar.bz2 master-187ad058-f10e6fd9af01ea8281cc8a20d2722250851673b2.zip |
atheros: spaces fixes
Add missed spaces and remove odd space as suggested by checkpatch.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41091 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-3.10/130-watchdog.patch')
-rw-r--r-- | target/linux/atheros/patches-3.10/130-watchdog.patch | 8 |
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 e2c9468545..2ae6dcc0f0 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; +} |