can: mcp251x: fix coccinelle warnings
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 2 May 2014 11:57:01 +0000 (13:57 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 19 May 2014 07:38:07 +0000 (09:38 +0200)
commite1dfefebaebf8b4d7c7a873b898a4ce9927a2fdf
treebdcf9361e9f6285d6d34bb6f7081a4e99923a5cb
parentb6052af61a9e0dee236bcf4c69843126c0d28e4f
can: mcp251x: fix coccinelle warnings

drivers/net/can/spi/mcp251x.c:953:7-27: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT

 Make sure threaded IRQs without a primary handler are always request with
 IRQF_ONESHOT

Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci

CC: Stefano Babic <sbabic@denx.de>
CC: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251x.c