iio:trigger: Fix coding style in iio-trig-bfin-timer.c by removing a waring flagged by checkpatch.pl
Subsystems (3)
A message that is not in the archive (sent off-list or not yet received): CAEnQRZCgiUXEZX8iwJV3MU00KoywaPsNFy32QkuEGRui_itgJw
PATCH 1/1 iio:trigger: Fix coding style in iio-trig-bfin-timer.c by removing a waring flagged by checkpatch.pl
--- drivers/staging/iio/trigger/iio-trig-bfin-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/trigger/iio-trig-bfin-timer.c +1 -1
@@ -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[] = {
Signature · 1 line
2.7.4
Jonathan Cameron
maintainerQuoted 1 line · rishabh hardas
Signed-off-by rishabh hardas <[email protected]>
Ideally you'd have had a bit more description above the sign off and perhaps a shorter title. I'd have left the 'how' element of the patch to this extra description and not put it in the title.
Also, minor typo waring-> warning.
I'll fix that up.
Applied to the togreg branch of iio.git and pushed out as testing from the pharma cleanroom where I have surprisingly good internet access!
Jonathan
Quoted 18 lines
--- drivers/staging/iio/trigger/iio-trig-bfin-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/iio/trigger/iio-trig-bfin-timer.c +1
-1@@ -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[] = {
Jonathan Cameron
maintainerQuoted 5 lines · Jonathan Cameron
Quoted 1 line · rishabh hardas
Signed-off-by rishabh hardas <[email protected]>Ideally you'd have had a bit more description above the sign off and perhaps a shorter title. I'd have left the 'how' element of the patch to this extra description and not put it in the title.
Quoted 7 lines
Also, minor typo waring-> warning.
I'll fix that up.
Applied to the togreg branch of iio.git and pushed out as testing from the pharma cleanroomwhere I have surprisingly good internet access!
Or not pushed out as something is blocking my connection. Might be a day or two before I get on a sensible connection!
Jonathan
Quoted 25 lines
Jonathan
Quoted 10 lines
--- drivers/staging/iio/trigger/iio-trig-bfin-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/iio/trigger/iio-trig-bfin-timer.c +0
-0drivers/staging/iio/trigger/iio-trig-bfin-timer.c static ssize_t iio_bfin_tmr_frequency_show(struct device *dev, · line 139
Quoted 8 lines
drivers/staging/iio/trigger/iio-trig-bfin-timer.c +1
-1@@ -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[] = {--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html