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
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
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
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
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