[PATCH 1/1] staging: emxx_udc: remove local TRUE/FALSE definition

2019-09-08 Thread Saiyam Doshi
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_

[PATCH] staging: rtl8723bs: remove unneeded conversion to bool

2019-09-12 Thread Saiyam Doshi
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

[PATCH] staging: exfat: use bdev_sync function directly where needed

2019-10-02 Thread Saiyam Doshi
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

[PATCH 1/1] staging: android: Fixed coding style issues reported by checkpatch

2016-03-06 Thread Saiyam Doshi
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

Re: [PATCH 1/1] staging: android: Fixed coding style issues reported by checkpatch

2016-03-08 Thread Saiyam Doshi
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