[PATCH 4/4] Staging: iio: accel : sca3000_ring: Fixing code styling issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michael Nijs <nijs.michael@xxxxxxxxx>

Fixed code styling issue.

Signed-off-by: Michael Nijs <nijs.michael@xxxxxxxxx>
---
 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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux