can: xilinx_can: xcan_probe(): skip error message on deferred probe
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com>
Mon, 12 Aug 2019 10:06:42 +0000 (15:36 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 13 Aug 2019 14:43:22 +0000 (16:43 +0200)
commit6b0d35891c835319291f2c3b459e666fc809f831
tree79bd93be299ca62599b21546e421a7197a8f423f
parent3486cc40ccbfe4cbf55feecce88a792e3043c178
can: xilinx_can: xcan_probe(): skip error message on deferred probe

When can clock is provided from the clock wizard, clock wizard driver
may not be available when can driver probes resulting to the error
message "Device clock not found error".

As this error message is not very userful to the end user, skip printing
it in the case of deferred probe.

Fixes: b1201e44 ("can: xilinx CAN controller support")
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/xilinx_can.c