Staging: iio: adt7316: Switch irq_flags to a local variable
authorShreeya Patel <shreeya.patel23498@gmail.com>
Tue, 20 Nov 2018 16:56:58 +0000 (22:26 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 25 Nov 2018 11:49:33 +0000 (11:49 +0000)
commit3310280830a9426b775a8f5e2693f2e4e11f915d
tree181655d6a1eb383e96693a304f5aece343b0f520
parentc63460c4298f93cdc4e30cda96d21b3583d7e3a0
Staging: iio: adt7316: Switch irq_flags to a local variable

There is no need to store irq_flags into the structure as it
is always set to the same thing. Hence switch irq_flags to a
local variable.

Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/addac/adt7316-i2c.c
drivers/staging/iio/addac/adt7316-spi.c
drivers/staging/iio/addac/adt7316.c
drivers/staging/iio/addac/adt7316.h