diff options
| author | 2014-03-28 14:14:44 +0400 | |
|---|---|---|
| committer | 2014-04-24 22:54:15 +0200 | |
| commit | 31473c286cc09720c0238d085c9de2b890ddb965 (patch) | |
| tree | fab5406e6b9ae709ec2ade1cc70e91613421e63b /include | |
| parent | bcm63xx_enet: Use ARRAY_SIZE instead of open coding it (diff) | |
can: mcp251x: Check return value of spi_setup()
This patch moves setup of SPI bus a bit earlier and adds check for spi_setup()
result to be sure SPI bus is communicating with the device properly.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Tested-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
