Re: [PATCH 2/2] watchdog: fix cleanup device code on registration

2013-04-12 Thread Guenter Roeck
On Fri, Apr 12, 2013 at 06:51:48AM +, Kim, Milo wrote: > Duplicate lines of code are moved to cleanup_dev section. > And it returns 0 explicitly in case of no error. > > Signed-off-by: Milo(Woogyom) Kim > --- > drivers/watchdog/watchdog_dev.c | 18 +- > 1 file changed, 9 in

[PATCH 2/2] watchdog: fix cleanup device code on registration

2013-04-11 Thread Kim, Milo
Duplicate lines of code are moved to cleanup_dev section. And it returns 0 explicitly in case of no error. Signed-off-by: Milo(Woogyom) Kim --- drivers/watchdog/watchdog_dev.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/watchdog/watchdog_dev.c