[PATCH] fs: coding style requires spaces around < and =

2017-12-29 Thread Hugh Sipière
The coding style states that one space around = and < are required. This is consistent and more nice to read. Signed-off-by: Hugh Sipière --- fs/aio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/aio.c b/fs/aio.c index a062d75109cb..5dc7b549d2ed 100644 --- a/fs/ai

[PATCH] uwb: remove trailing whitespace for coding style

2017-12-29 Thread Hugh Sipière
There were tabs there before that aren't in this patch. After the semicolon there was a space that I removed. This is to suit the coding style. Signed-off-by: Hugh Sipière --- drivers/uwb/drp-ie.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/uw

[PATCH] uwb: fix brace coding style issue in drp-ie.c

2017-12-29 Thread Hugh Sipière
The coding style doesn't use braces if a single statment will do. In this case we can get rid of the braces. Signed-off-by: Hugh Sipière --- drivers/uwb/drp-ie.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/uwb/drp-ie.c b/drivers/uwb/drp-ie.c index b7d4f6b

[PATCH] iommu: Place spaces after if for coding style

2017-12-29 Thread Hugh Sipière
The code style states to use a space after if so I'm putting a space between the if and open bracket in these two cases. Signed-off-by: Hugh Sipière --- drivers/iommu/intel-iommu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/intel-iommu.c b/dr

[PATCH] drivers: ssb: Change bare unsigned to unsigned int to suit coding style

2016-06-04 Thread Hugh Sipière
These lines just have unsigned gpio rather than unsigned int gpio. I changed it to suit the coding style. Signed-off-by: Hugh Sipière --- drivers/ssb/driver_gpio.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/ssb/driver_gpio.c b/drivers

[PATCH] drivers: ssb: Fix comments to suit coding style

2016-06-04 Thread Hugh Sipière
I changed it so that these two comments do not end on a line with text. Signed-off-by: Hugh Sipière --- drivers/ssb/driver_gpio.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/ssb/driver_gpio.c b/drivers/ssb/driver_gpio.c index 180e027..f2435f3 100644 --- a