staging: iio: trigger: blackfin timer: replace device_attr with device_attr_rw
authorAishwarya Pant <aishpant@gmail.com>
Thu, 4 Jan 2018 10:58:51 +0000 (16:28 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:03:43 +0000 (16:03 +0100)
commit7f752e1300791969751453fddcad2c46c7209074
treed451f345a3964d7c6a4fac5015670a9edda4f820
parent13e6bac82af018a0777d70626ae0119d889180e8
staging: iio: trigger: blackfin timer: replace device_attr with device_attr_rw

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 <aishpant@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/trigger/iio-trig-bfin-timer.c