Re: [PATCH] rc: img-ir: fix error in parameters passed to irq_free()

2015-02-10 Thread James Hogan
On Tue, Feb 10, 2015 at 10:41:56AM +, Sifan Naeem wrote: > img_ir_remove() passes a pointer to the ISR function as the 2nd > parameter to irq_free() instead of a pointer to the device data > structure. > This issue causes unloading img-ir module to fail with the below > warning after building a

[PATCH] rc: img-ir: fix error in parameters passed to irq_free()

2015-02-10 Thread Sifan Naeem
img_ir_remove() passes a pointer to the ISR function as the 2nd parameter to irq_free() instead of a pointer to the device data structure. This issue causes unloading img-ir module to fail with the below warning after building and loading img-ir as a module. WARNING: CPU: 2 PID: 155 at ../kernel/i