OSDN Git Service

iio:trigger: Fix coding style in iio-trig-bfin-timer.c by aligning parameters with...
authorrishabh hardas <rishabheudyptula@gmail.com>
Sat, 7 Jan 2017 10:51:36 +0000 (16:21 +0530)
committerJonathan Cameron <jic23@kernel.org>
Sat, 7 Jan 2017 16:59:55 +0000 (11:59 -0500)
Fixes a warning flagged by checkpatch.pl

Signed-off-by: rishabh hardas <rishabheudyptula@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/trigger/iio-trig-bfin-timer.c

index 38dca69..9658f20 100644 (file)
@@ -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[] = {