The device pointer in struct watchdog_device has a different lifetime
than the driver code and should not be used in drivers. Use the pointer
to the parent device instead.
Signed-off-by: Guenter Roeck
---
v2: Print messages using parent device
drivers/watchdog/mena21_wdt.c | 4 ++--
1 file
The device pointer in struct watchdog_device has a different lifetime
than the driver code and should not be used in drivers. Use the pointer
to the parent device instead.
Signed-off-by: Guenter Roeck
---
v2: Print messages using parent device
drivers/watchdog/mena21_wdt.c
2 matches
Mail list logo