As the function argument and variables are defined as type 'bool',
remove local TRUE/FALSE define and change usage of those macros
with boolean value.
Signed-off-by: Saiyam Doshi
---
drivers/staging/emxx_udc/emxx_udc.c | 76 ++---
drivers/staging/emxx_udc/emxx_
Relational and logical operators evaluate to bool,
explicit conversion is overly verbose and unneeded.
This issue found using - Coccinelle (http://coccinelle.lip6.fr)
Signed-off-by: Saiyam Doshi
---
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 9 +
1 file changed, 5 insertions(+), 4
fs_sync() is wrapper to bdev_sync(). When fs_sync is called with
non-zero argument, bdev_sync gets called.
Most instances of fs_sync is called with false and very few with
true. Refactor this and makes direct call to bdev_sync() where
needed and removes fs_sync definition.
Signed-off-by: Saiyam
comment for spinlock_t definition
Signed-off-by: Saiyam Doshi
---
drivers/staging/android/lowmemorykiller.c | 2 ++
drivers/staging/android/sync.h| 10 ++
drivers/staging/android/sync_debug.c | 3 +--
drivers/staging/android/timed_gpio.c | 1 +
4 files changed, 6
mation about kernel version from which the patch is created.
>From fd6a8ba1030fdcfc1efca9b377cd0957580708dd Mon Sep 17 00:00:00 2001
From: Saiyam Doshi
Date: Wed, 9 Mar 2016 00:15:04 +0530
Subject: [PATCH 1/2] staging: android: Fixed coding style issue reported by
checkpatch
Alignment should