From 0bca3f9547a32788f8c5f18f229b3d09e81a7617 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 10 Jun 2014 09:06:06 +0000 Subject: atheros: spaces fixes Add missed spaces and remove odd space as suggested by checkpatch. Signed-off-by: Sergey Ryazanov SVN-Revision: 41091 --- target/linux/atheros/patches-3.10/130-watchdog.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target/linux/atheros/patches-3.10/130-watchdog.patch') 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; +} -- cgit v1.1