From: rishabh hardas Date: Sat, 7 Jan 2017 10:51:36 +0000 (+0530) Subject: iio:trigger: Fix coding style in iio-trig-bfin-timer.c by aligning parameters with... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=04e917305d6a82a18c73047adfe2273718013ee8;p=openwrt%2Fstaging%2Fblogic.git iio:trigger: Fix coding style in iio-trig-bfin-timer.c by aligning parameters with opening bracket. Fixes a warning flagged by checkpatch.pl Signed-off-by: rishabh hardas Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/trigger/iio-trig-bfin-timer.c b/drivers/staging/iio/trigger/iio-trig-bfin-timer.c index 38dca69a06eb..9658f2097c95 100644 --- a/drivers/staging/iio/trigger/iio-trig-bfin-timer.c +++ b/drivers/staging/iio/trigger/iio-trig-bfin-timer.c @@ -133,7 +133,7 @@ static ssize_t iio_bfin_tmr_frequency_show(struct device *dev, return sprintf(buf, "%lu\n", val); } -static DEVICE_ATTR(frequency, S_IRUGO | S_IWUSR, iio_bfin_tmr_frequency_show, +static DEVICE_ATTR(frequency, 0644, iio_bfin_tmr_frequency_show, iio_bfin_tmr_frequency_store); static struct attribute *iio_bfin_tmr_trigger_attrs[] = {