Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: hp680_ts_input - ensure arguments to request_irq and free_irq are compatible

Change 0 to NULL in the last argument of request_irq, since the argument
should have pointer type and so that the last argument of request_irq
syntactically matches the second argument of the later call to free_irq.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

authored by

Julia Lawall and committed by
Dmitry Torokhov
b51425be 05b7b842

+1 -1
+1 -1
drivers/input/touchscreen/hp680_ts_input.c
··· 93 93 hp680_ts_dev->phys = "hp680_ts/input0"; 94 94 95 95 if (request_irq(HP680_TS_IRQ, hp680_ts_interrupt, 96 - 0, MODNAME, 0) < 0) { 96 + 0, MODNAME, NULL) < 0) { 97 97 printk(KERN_ERR "hp680_touchscreen.c: Can't allocate irq %d\n", 98 98 HP680_TS_IRQ); 99 99 err = -EBUSY;