On Wed, 29 Mar 2017, Arushi Singhal wrote:
> Use managed resource functions devm_request_irq instead of request_irq.
> Remove corresponding calls to free_irq in the probe.
This transformation is dangerous, because it moves the stopping of
interrupts from where the free_irq is to after the end o
Use managed resource functions devm_request_irq instead of request_irq.
Remove corresponding calls to free_irq in the probe.
Signed-off-by: Arushi Singhal
---
drivers/staging/iio/trigger/iio-trig-bfin-timer.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/stag