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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| m_can_platform.c | ||
| m_can.c | ||
| m_can.h | ||
| Makefile | ||
| tcan4x5x.c | ||