Re: [PATCH] watchdog: Add a device managed API for watchdog_register_device()

2016-05-26 Thread Guenter Roeck
On 05/26/2016 01:31 AM, Neil Armstrong wrote: This helps in reducing code in .remove callbacks and sometimes dropping .remove callbacks entirely. Signed-off-by: Neil Armstrong --- Documentation/driver-model/devres.txt | 3 +++ drivers/watchdog/watchdog_core.c

Re: [PATCH] watchdog: Add a device managed API for watchdog_register_device()

2016-05-26 Thread Guenter Roeck
On 05/26/2016 01:31 AM, Neil Armstrong wrote: This helps in reducing code in .remove callbacks and sometimes dropping .remove callbacks entirely. Signed-off-by: Neil Armstrong --- Documentation/driver-model/devres.txt | 3 +++ drivers/watchdog/watchdog_core.c | 36

[PATCH] watchdog: Add a device managed API for watchdog_register_device()

2016-05-26 Thread Neil Armstrong
This helps in reducing code in .remove callbacks and sometimes dropping .remove callbacks entirely. Signed-off-by: Neil Armstrong --- Documentation/driver-model/devres.txt | 3 +++ drivers/watchdog/watchdog_core.c | 36 +++

[PATCH] watchdog: Add a device managed API for watchdog_register_device()

2016-05-26 Thread Neil Armstrong
This helps in reducing code in .remove callbacks and sometimes dropping .remove callbacks entirely. Signed-off-by: Neil Armstrong --- Documentation/driver-model/devres.txt | 3 +++ drivers/watchdog/watchdog_core.c | 36 +++ include/linux/watchdog.h