From: rishabh hardas <rishabheudyptula@gmail.com>
To: pmeerw@pmeerw.net
Cc: rishabh hardas <rishabheudyptula@gmail.com>, linux-iio@vger.kernel.org
Subject: [PATCH] Fixed a coding style issue as a part of Eudyptula Challenge
Date: Fri, 6 Jan 2017 15:09:30 +0530 [thread overview]
Message-ID: <1483695570-13082-1-git-send-email-rishabheudyptula@gmail.com> (raw)
Signed-off-by: rishabh hardas <rishabheudyptula@gmail.com>
---
drivers/staging/iio/trigger/iio-trig-bfin-timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/iio/trigger/iio-trig-bfin-timer.c b/drivers/staging/iio/trigger/iio-trig-bfin-timer.c
index 38dca69..9658f20 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[] = {
--
2.7.4
next reply other threads:[~2017-01-06 9:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-06 9:39 rishabh hardas [this message]
2017-01-07 9:23 ` [PATCH] Fixed a coding style issue as a part of Eudyptula Challenge Daniel Baluta
2017-01-07 16:56 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1483695570-13082-1-git-send-email-rishabheudyptula@gmail.com \
--to=rishabheudyptula@gmail.com \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).