linux/drivers/iio/imu/st_lsm6dsx
simran singhal 407e0b537e iio: imu: st_lsm6dsx: Remove unnecessary cast on void pointer
The following Coccinelle script was used to detect this:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
  *((T *)e)
|
  ((T *)x)[...]
|
  ((T*)x)->f
|
- (T*)
  e
)

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2017-04-02 09:51:45 +01:00
..
Kconfig iio: imu: st_lsm6dsx: add support to lsm6ds3h 2017-02-04 12:25:05 +00:00
Makefile
st_lsm6dsx_buffer.c iio: imu: st_lsm6dsx: Remove unnecessary cast on void pointer 2017-04-02 09:51:45 +01:00
st_lsm6dsx_core.c iio: imu: st_lsm6dsx: add support to lsm6ds3h 2017-02-04 12:25:05 +00:00
st_lsm6dsx_i2c.c iio: imu: st_lsm6dsx: add support to lsm6ds3h 2017-02-04 12:25:05 +00:00
st_lsm6dsx_spi.c iio: imu: st_lsm6dsx: add support to lsm6ds3h 2017-02-04 12:25:05 +00:00
st_lsm6dsx.h iio: imu: st_lsm6dsx: add support to lsm6ds3h 2017-02-04 12:25:05 +00:00