can: mcp251x: add message about sucessful/unsuccessful probe
authorEd Spiridonov <edo.rus@gmail.com>
Mon, 20 Jun 2016 18:40:15 +0000 (21:40 +0300)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 23 Jun 2016 09:23:49 +0000 (11:23 +0200)
commitb63f69d0fc1fa1e25842a2266633862d523c380f
tree8e45b802e2283d14d89fdf4dbf3a81f224a54494
parent926f10359a69fa82f0ec022f3b54ca8a05ea8440
can: mcp251x: add message about sucessful/unsuccessful probe

Silent ignorance of errors during probe procedure is a bad thing, this
patch fixes it. Extra message added for hardware initialization
failure. Such common issues are mostly caused by wrong wiring.  Message
about success added as well, it should be useful to debug new hardware
configuration, especially in case of several CAN buses.

Signed-off-by: Ed Spiridonov <edo.rus@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251x.c