Re: [PATCH] staging: iio: trigger: replace device_attr with device_attr_rw

2018-01-06 Thread Jonathan Cameron
On Thu, 4 Jan 2018 16:28:51 +0530 Aishwarya Pant wrote: > This is a clean-up patch which replaces DEVICE_ATTR() macro with the > file permission specific DEVICE_ATTR_RW() macro for compaction and > readability. Done using coccinelle. > > Signed-off-by: Aishwarya Pant

[PATCH] staging: iio: trigger: replace device_attr with device_attr_rw

2018-01-04 Thread Aishwarya Pant
This is a clean-up patch which replaces DEVICE_ATTR() macro with the file permission specific DEVICE_ATTR_RW() macro for compaction and readability. Done using coccinelle. Signed-off-by: Aishwarya Pant --- drivers/staging/iio/trigger/iio-trig-bfin-timer.c | 15