[PATCH] Staging: iio: adc: fix macro and sysfs files modes in ad7280a.c

2016-11-27 Thread Boyan Vladinov
Fixes warnings found by checkpatch.pl: - AD7280A_DEVADDR macro to use typeof, because of possible side effects - sysfs entries user/group modes to use their octal representation - coding style (open parenthesis alignment, CamelCase...) Signed-off-by: Boyan Vladinov --- drivers/staging/iio/adc

[PATCH v3] Staging: iio: adc: fix sysfs files modes in ad7192.c

2016-11-26 Thread Boyan Vladinov
Fixes warnings found by checkpatch.pl: - sysfs entries user/group modes to use their octal representation - use the IIO_DEVICE_ATTR_[RO|RW] macroses - coding style Signed-off-by: Boyan Vladinov --- drivers/staging/iio/adc/ad7192.c | 39 --- 1 file changed, 24

Re: [PATCH v2] Staging: iio: adc: fix sysfs files modes in ad7192.c

2016-11-25 Thread Boyan Vladinov
Ignore patch version...comments below Will resend it On 24.11.2016 19:38, Boyan Vladinov wrote: Fixes sysfs entries user/group modes and coding style warnings found by checkpatch.pl tool. Also use the IIO_DEVICE_ATTR_[RO|RW] and macros to create device attributes Signed-off-by: Boyan Vladinov

[PATCH v2] Staging: iio: adc: fix sysfs files modes in ad7192.c

2016-11-24 Thread Boyan Vladinov
Fixes sysfs entries user/group modes and coding style warnings found by checkpatch.pl tool. Also use the IIO_DEVICE_ATTR_[RO|RW] and macros to create device attributes Signed-off-by: Boyan Vladinov --- drivers/staging/iio/adc/ad7192.c | 45 +++- 1 file

[PATCH] Staging: iio: adc: fix sysfs files modes in ad7192.c

2016-11-22 Thread Boyan Vladinov
Fixes sysfs entries user/group modes and coding style warnings found by checkpatch.pl tool Signed-off-by: Boyan Vladinov --- drivers/staging/iio/adc/ad7192.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc