Re: [Outreachy kernel] [PATCH] staging: iio: Use devm functions

2017-03-28 Thread Julia Lawall
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

[PATCH] staging: iio: Use devm functions

2017-03-28 Thread Arushi Singhal
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