summary refs log tree commit diff
path: root/drivers/net/can/led.c
diff options
context:
space:
mode:
authorTimo Schlüßler <schluessler@krause.de>2019-10-11 15:38:20 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-11-11 21:57:28 +0100
commit877a902103fd3ed15872a5d740fca8aa3f5fa33f (patch)
tree129c1fd2b1dbd8025df5d9b0e4cc4ab9d3f3dd83 /drivers/net/can/led.c
parent50ec88120ea16cf8b9aabf8422c364166ce3ee17 (diff)
downloadlinux-877a902103fd3ed15872a5d740fca8aa3f5fa33f.tar.gz
can: mcp251x: add mcp251x_write_2regs() and make use of it
This patch introduces the function mcp251x_write_2regs() to write two
registers with one SPI transfer and converts the disabling of pending
interrupts in mcp251x_stop() to it.

Signed-off-by: Timo Schlüßler <schluessler@krause.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/led.c')
0 files changed, 0 insertions, 0 deletions