mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
iio: humidity: hts221: 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]>
This commit is contained in:
parent
4d925083e8
commit
7ae6df68d6
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ static const struct iio_trigger_ops hts221_trigger_ops = {
|
|||
|
||||
static irqreturn_t hts221_trigger_handler_thread(int irq, void *private)
|
||||
{
|
||||
struct hts221_hw *hw = (struct hts221_hw *)private;
|
||||
struct hts221_hw *hw = private;
|
||||
u8 status;
|
||||
int err;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue