As per linux kernel coding style braces are not needed for single
statement.
Checkpatch
warning: braces {} are not necessary for any arm of this statement
128: FILE: drivers/iio/accel/da280.c:128:
Signed-off-by: Mugilraj Dhavachelvan
---
drivers/iio/accel/da280.c | 5 ++---
1 file changed, 2
Change function's name to %s and __func__ to fix checkpatch.pl errors.
Signed-off-by: Mugilraj Dhavachelvan
---
drivers/iio/adc/bcm_iproc_adc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/iio/adc/bcm_iproc_adc.c b/drivers/iio/adc/bcm_iproc_adc.c
dropped __func__ while using dev_dbg() and pr_debug()
Signed-off-by: Mugilraj Dhavachelvan
---
drivers/iio/adc/stm32-dfsdm-adc.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/iio/adc/stm32-dfsdm-adc.c
b/drivers/iio/adc/stm32-dfsdm-adc.c
index
Use devm_iio_device_register() to avoid remove function and
drop explicit call to iio_device_unregister().
Signed-off-by: Mugilraj Dhavachelvan
---
drivers/iio/dac/max517.c | 9 +
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/drivers/iio/dac/max517.c b/drivers/iio/dac
Use devm_iio_device_register() to avoid remove function and
drop explicit call to iio_device_unregister().
Signed-off-by: Mugilraj Dhavachelvan
changes v1->v2:
-As sugested by Alexandru removed i2c_set_clientdata() because the
stored
data will be never used.
---
drivers/
Fixes a W=1 warning.
-Added ``:`` to lock parameter in 'ad9832_state' description.
-It's a reference comment so removed /**
Signed-off-by: Mugilraj Dhavachelvan
---
drivers/staging/iio/frequency/ad9832.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/driv
Replacing return value -1 to error code
Signed-off-by: Mugilraj Dhavachelvan
---
arch/x86/mm/kmmio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/mm/kmmio.c b/arch/x86/mm/kmmio.c
index be020a7bc414..15430520c232 100644
--- a/arch/x86/mm/kmmio.c
+++ b/arch/x86/mm
7 matches
Mail list logo