LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: nijs.michael@gmail.com
To: gregkh@suse.de
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Michael Nijs <nijs.michael@gmail.com>
Subject: [PATCH 4/4] Staging: iio: accel : sca3000_ring: Fixing code styling issues
Date: Wed, 6 Apr 2011 21:14:34 +0200 [thread overview]
Message-ID: <1302117274-9986-1-git-send-email-nijs.michael@gmail.com> (raw)
From: Michael Nijs <nijs.michael@gmail.com>
Fixed code styling issue.
Signed-off-by: Michael Nijs <nijs.michael@gmail.com>
---
drivers/staging/iio/accel/sca3000_ring.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/iio/accel/sca3000_ring.c b/drivers/staging/iio/accel/sca3000_ring.c
index fd1c844..c872fdd 100644
--- a/drivers/staging/iio/accel/sca3000_ring.c
+++ b/drivers/staging/iio/accel/sca3000_ring.c
@@ -91,7 +91,7 @@ static int sca3000_rip_hw_rb(struct iio_ring_buffer *r,
/* Convert byte order and shift to default resolution */
if (st->bpse == 11) {
- samples = (s16 *)(*data+1);
+ samples = (s16*)(*data+1);
for (i = 0; i < (num_read/2); i++) {
samples[i] = be16_to_cpup(
(__be16 *)&(samples[i]));
--
1.7.2.5
next reply other threads:[~2011-04-06 19:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-06 19:14 nijs.michael [this message]
2011-04-06 19:24 ` Belisko Marek
2011-04-07 9:58 ` 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=1302117274-9986-1-git-send-email-nijs.michael@gmail.com \
--to=nijs.michael@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--subject='Re: [PATCH 4/4] Staging: iio: accel : sca3000_ring: Fixing code styling issues' \
/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
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).