staging: iio: accel: change uint8_t to u8
authorIoana Ciornei <ciorneiioana@gmail.com>
Wed, 28 Oct 2015 23:01:50 +0000 (01:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Oct 2015 23:53:42 +0000 (08:53 +0900)
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>
drivers/staging/iio/accel/sca3000_core.c
drivers/staging/iio/accel/sca3000_ring.c

index 6aadaff062c63cdb18ee91795901a392f61074bb..30fc1ad39d9909051c596ebbdfe55da993cc4712 100644 (file)
@@ -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)
 {
 
index f6a608354bb97671ef701e68577418bec85e45ad..e19e7a4bd36ee7aeea32d9dc171fedd4fc9d5028 100644 (file)
@@ -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] = {