diff options
author | Ioana Ciornei <ciorneiioana@gmail.com> | 2015-10-29 01:01:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-29 08:53:42 +0900 |
commit | 89ea25c7ae9829611a15ece90ac6d4a423864ea1 (patch) | |
tree | 5782e894635e592be92cf5c1a1e5c70a3e722dd8 | |
parent | 252b1d8466544da68eca02e485d30d1af4c63ee6 (diff) |
staging: iio: accel: change uint8_t to u8
This patch changes uint8_t type to preferred kernel
type u8 in order to follow the linux coding style
conventions.
Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/iio/accel/sca3000_core.c | 4 | ||||
-rw-r--r-- | drivers/staging/iio/accel/sca3000_ring.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/iio/accel/sca3000_core.c b/drivers/staging/iio/accel/sca3000_core.c index 6aadaff062c6..30fc1ad39d99 100644 --- a/drivers/staging/iio/accel/sca3000_core.c +++ b/drivers/staging/iio/accel/sca3000_core.c @@ -88,7 +88,7 @@ int sca3000_write_reg(struct sca3000_state *st, u8 address, u8 val) } int sca3000_read_data_short(struct sca3000_state *st, - uint8_t reg_address_high, + u8 reg_address_high, int len) { struct spi_transfer xfer[2] = { @@ -165,7 +165,7 @@ static int __sca3000_unlock_reg_lock(struct sca3000_state *st) * Lock must be held. **/ static int sca3000_write_ctrl_reg(struct sca3000_state *st, - uint8_t sel, + u8 sel, uint8_t val) { diff --git a/drivers/staging/iio/accel/sca3000_ring.c b/drivers/staging/iio/accel/sca3000_ring.c index f6a608354bb9..e19e7a4bd36e 100644 --- a/drivers/staging/iio/accel/sca3000_ring.c +++ b/drivers/staging/iio/accel/sca3000_ring.c @@ -34,9 +34,9 @@ */ static int sca3000_read_data(struct sca3000_state *st, - uint8_t reg_address_high, - u8 **rx_p, - int len) + u8 reg_address_high, + u8 **rx_p, + int len) { int ret; struct spi_transfer xfer[2] = { |