linux/drivers/net/can/m_can
Gustavo A. R. Silva 93bdc0eb0b can: tcan4x5x: tcan4x5x_parse_config(): fix inconsistent IS_ERR and PTR_ERR
Fix inconsistent IS_ERR and PTR_ERR in tcan4x5x_parse_config().

The proper pointer to be passed as argument is tcan4x5x->device_wake_gpio.

This bug was detected with the help of Coccinelle.

Fixes: 2de4973569 ("can: tcan45x: Make wake-up GPIO an optional GPIO")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2020-01-02 15:34:26 +01:00
..
Kconfig can: tcan4x5x: Add tcan4x5x driver to the kernel 2019-07-24 10:31:54 +02:00
Makefile can: tcan4x5x: Add tcan4x5x driver to the kernel 2019-07-24 10:31:54 +02:00
m_can.c can: m_can: add support for handling arbitration error 2019-11-11 21:58:09 +01:00
m_can.h can: m_can: Rename m_can_priv to m_can_classdev 2019-07-24 10:31:54 +02:00
m_can_platform.c can: m_can_platform: remove unnecessary m_can_class_resume() call 2019-11-22 15:34:37 +01:00
tcan4x5x.c can: tcan4x5x: tcan4x5x_parse_config(): fix inconsistent IS_ERR and PTR_ERR 2020-01-02 15:34:26 +01:00