Re: [PATCH v2] watchdog: cpwd: add of_node_put()

2018-11-20 Thread Guenter Roeck
On 11/20/18 6:54 AM, Yangtao Li wrote: use of_node_put() to release the refcount. Signed-off-by: Yangtao Li Reviewed-by: Guenter Roeck --- Changes in v2: -do that right after its last use to also cover error handling. --- drivers/watchdog/cpwd.c | 2 ++ 1 file changed, 2 insertions(+)

[PATCH v2] watchdog: cpwd: add of_node_put()

2018-11-20 Thread Yangtao Li
use of_node_put() to release the refcount. Signed-off-by: Yangtao Li --- Changes in v2: -do that right after its last use to also cover error handling. --- drivers/watchdog/cpwd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/watchdog/cpwd.c b/drivers/watchdog/cpwd.c index aee0b