diff options
author | simran singhal | 2017-04-01 16:16:24 +0200 |
---|---|---|
committer | Jonathan Cameron | 2017-04-02 10:51:45 +0200 |
commit | 407e0b537eadc9f5e98da74b746ce84f42b89cd7 (patch) | |
tree | 4f8f38e5dcf6052922f8c9ff7439896235bcd3cf /drivers/iio/pressure | |
parent | iio: humidity: hts221: Remove unnecessary cast on void pointer (diff) | |
download | kernel-qcow2-linux-407e0b537eadc9f5e98da74b746ce84f42b89cd7.tar.gz kernel-qcow2-linux-407e0b537eadc9f5e98da74b746ce84f42b89cd7.tar.xz kernel-qcow2-linux-407e0b537eadc9f5e98da74b746ce84f42b89cd7.zip |
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>
Diffstat (limited to 'drivers/iio/pressure')
0 files changed, 0 insertions, 0 deletions