Commit 89ea25c7 authored by Ioana Ciornei's avatar Ioana Ciornei Committed by Greg Kroah-Hartman

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: default avatarIoana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 252b1d84
...@@ -88,7 +88,7 @@ int sca3000_write_reg(struct sca3000_state *st, u8 address, u8 val) ...@@ -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, int sca3000_read_data_short(struct sca3000_state *st,
uint8_t reg_address_high, u8 reg_address_high,
int len) int len)
{ {
struct spi_transfer xfer[2] = { struct spi_transfer xfer[2] = {
...@@ -165,7 +165,7 @@ static int __sca3000_unlock_reg_lock(struct sca3000_state *st) ...@@ -165,7 +165,7 @@ static int __sca3000_unlock_reg_lock(struct sca3000_state *st)
* Lock must be held. * Lock must be held.
**/ **/
static int sca3000_write_ctrl_reg(struct sca3000_state *st, static int sca3000_write_ctrl_reg(struct sca3000_state *st,
uint8_t sel, u8 sel,
uint8_t val) uint8_t val)
{ {
......
...@@ -34,9 +34,9 @@ ...@@ -34,9 +34,9 @@
*/ */
static int sca3000_read_data(struct sca3000_state *st, static int sca3000_read_data(struct sca3000_state *st,
uint8_t reg_address_high, u8 reg_address_high,
u8 **rx_p, u8 **rx_p,
int len) int len)
{ {
int ret; int ret;
struct spi_transfer xfer[2] = { struct spi_transfer xfer[2] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment