diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-12-10 18:05:32 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-01-02 17:34:26 +0300 |
commit | 93bdc0eb0b4bb5e7094fd4a95f4a394e4a927e09 (patch) | |
tree | 8525049ab2c5338f5db6c372ff35164da3e98d21 /include/linux/can | |
parent | 5a1f8f5e5efa8d536d75ab532714ec248dd6da2b (diff) | |
download | linux-93bdc0eb0b4bb5e7094fd4a95f4a394e4a927e09.tar.xz |
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: 2de497356955 ("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>
Diffstat (limited to 'include/linux/can')
0 files changed, 0 insertions, 0 deletions