Commit 1abe0c9a authored by Ioana Ciornei's avatar Ioana Ciornei Committed by Greg Kroah-Hartman
Browse files

staging: iio: accel: add spaces aroung binary operators



This patch adds spaces around binary operators such as '*',
'/', '+' in order to improve readability.

Signed-off-by: default avatarIoana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0bc85241
Loading
Loading
Loading
Loading
+12 −12
Original line number Diff line number Diff line
@@ -72,22 +72,22 @@ static int lis3l02dq_read_all(struct iio_dev *indio_dev, u8 *rx_array)
	for (i = 0; i < ARRAY_SIZE(read_all_tx_array) / 4; i++)
		if (test_bit(i, indio_dev->active_scan_mask)) {
			/* lower byte */
			xfers[j].tx_buf = st->tx + 2*j;
			xfers[j].tx_buf = st->tx + (2 * j);
			st->tx[2 * j] = read_all_tx_array[i * 4];
			st->tx[2 * j + 1] = 0;
			if (rx_array)
				xfers[j].rx_buf = rx_array + j*2;
				xfers[j].rx_buf = rx_array + (j * 2);
			xfers[j].bits_per_word = 8;
			xfers[j].len = 2;
			xfers[j].cs_change = 1;
			j++;

			/* upper byte */
			xfers[j].tx_buf = st->tx + 2*j;
			xfers[j].tx_buf = st->tx + (2 * j);
			st->tx[2 * j] = read_all_tx_array[i * 4 + 2];
			st->tx[2 * j + 1] = 0;
			if (rx_array)
				xfers[j].rx_buf = rx_array + j*2;
				xfers[j].rx_buf = rx_array + (j * 2);
			xfers[j].bits_per_word = 8;
			xfers[j].len = 2;
			xfers[j].cs_change = 1;
+2 −2

File changed.

Contains only whitespace changes.

+14 −14

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.