Files
linux/drivers/iio/common/ms_sensors
simran singhal 6c6c0987f9 iio: common: ms_sensors: 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 <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
2017-04-02 09:47:57 +01:00
..
…
…