[PATCH] staging: iio: ad7816: drop unnecessary initialization of variables

2018-12-12 Thread Hardik Singh Rathore
Initialization is unnecessary when the variable is written before it is read. There were some occasions in which the driver would initialize `ret' during declaration without need. Signed-off-by: Hardik Singh Rathore --- drivers/staging/iio/adc/ad7816.c | 7 +++ 1 file changed, 3 inser

[PATCH] staging: iio: adt7316: drop unnecessary initialization of variables

2018-12-12 Thread Hardik Singh Rathore
Initialization is unnecessary when the variable is written before it is read. There were some occasions in which the driver would initialize `ret' during declaration without need. Purely a cosmetic change with no functional impact. Signed-off-by: Hardik Singh Rathore --- drivers/stagin

[PATCH] Staging: rtl8723bs: Fix code style issue in rtl8723bs driver

2018-12-12 Thread Hardik Singh Rathore
Add space between 'else' and '{' to solve code style issue in all the files for rtl8723bs driver. Signed-off-by: Hardik Singh Rathore --- drivers/staging/rtl8723bs/core/rtw_ap.c | 24 ++--- drivers/staging/rtl8723bs/core/rtw_cmd.c | 36 +++ drivers/st