Commit 7fbda130 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde
Browse files

can: tcan4x5x: tcan4x5x_can_probe(): add missing error handling if mcan_class is NULL

This patch adds the missing error handling in tcan4x5x_can_probe() if
mcan_class is NULL.

Fixes: 5443c226

 ("can: tcan4x5x: Add tcan4x5x driver to the kernel")
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent ad07819f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment