linux_dsm_epyc7002/drivers/net/can/spi
Alexander Shiyan 3964576307 can: mcp251x: Use dev_name() during request_threaded_irq()
Passing driver name as name during request_threaded_irq() results in all
CAN IRQs have same name. This does not help much to easily identify which
IRQ belongs to which CAN instance. Therefore pass dev_name() during
request_threaded_irq() so that better identifiable name is listed for
CAN devices in cat /proc/interrupts output.

Output of cat /proc/interrupts
Before this patch:
  253:          2  gpio-mxc  13 Edge      mcp251x
  259:          2  gpio-mxc  19 Edge      mcp251x
After this patch:
  253:          2  gpio-mxc  13 Edge      spi1.1
  259:          2  gpio-mxc  19 Edge      spi1.2

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Tested-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2019-08-20 13:41:26 +02:00
..
hi311x.c can: hi311x: remove custom DMA mapped buffer 2019-08-20 13:41:25 +02:00
Kconfig can: mcp251x: add support for mcp25625 2019-06-07 23:03:53 +02:00
Makefile
mcp251x.c can: mcp251x: Use dev_name() during request_threaded_irq() 2019-08-20 13:41:26 +02:00