Re: [PATCH] iio: adc: bcm_iproc_adc: Use %s and __func__

2021-04-01 Thread Mugilraj D
On 01/04/21 4:00 pm, Jonathan Cameron wrote: > On Thu, 1 Apr 2021 12:24:50 +0300 > Andy Shevchenko wrote: > >> On Thu, Apr 1, 2021 at 9:27 AM Mugilraj Dhavachelvan >> wrote: >>> >>> Change function's name to %s and __func__ to fix checkpatch.pl errors. >> >> No, just drop the __func__ compl

Re: [PATCH] iio:dac:max517: Use devm_iio_device_register()

2021-03-14 Thread Mugilraj D
On 14/03/21 4:37 pm, Alexandru Ardelean wrote: > On Sun, Mar 14, 2021 at 11:34 AM Mugilraj Dhavachelvan > wrote: >> >> Use devm_iio_device_register() to avoid remove function and >> drop explicit call to iio_device_unregister(). >> >> Signed-off-by: Mugilraj Dhavachelvan >> --- >> drivers/iio

[PATCH] iio: accel: Replace symbolic permissions with octal permissions

2020-06-13 Thread Mugilraj D
Resolve following checkpatch issue: WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'. Signed-off-by: Mugilraj D --- drivers/iio/accel/bma180.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/driver