Re: [PATCH RESEND 2/2] watchdog: wm831x_wdt: use devm_gpio_request_one()

2013-05-26 Thread Wim Van Sebroeck
Hi Jingoo, > Use devm_gpio_request_one() to make cleanup paths simpler. > Also, GPIOF_DIR_OUT | GPIOF_INIT_LOW is replaced with > GPIOF_OUT_INIT_LOW. > > Signed-off-by: Jingoo Han > --- > drivers/watchdog/wm831x_wdt.c | 17 ++--- > 1 files changed, 6 insertions(+), 11

Re: [PATCH RESEND 2/2] watchdog: wm831x_wdt: use devm_gpio_request_one()

2013-05-26 Thread Wim Van Sebroeck
Hi Jingoo, Use devm_gpio_request_one() to make cleanup paths simpler. Also, GPIOF_DIR_OUT | GPIOF_INIT_LOW is replaced with GPIOF_OUT_INIT_LOW. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/wm831x_wdt.c | 17 ++--- 1 files changed, 6 insertions(+), 11

Re: [PATCH RESEND 2/2] watchdog: wm831x_wdt: use devm_gpio_request_one()

2013-04-29 Thread Guenter Roeck
On Mon, Apr 29, 2013 at 06:31:20PM +0900, Jingoo Han wrote: > Use devm_gpio_request_one() to make cleanup paths simpler. > Also, GPIOF_DIR_OUT | GPIOF_INIT_LOW is replaced with > GPIOF_OUT_INIT_LOW. > > Signed-off-by: Jingoo Han Reviewed-by: Guenter Roeck -- To unsubscribe from this list: send

[PATCH RESEND 2/2] watchdog: wm831x_wdt: use devm_gpio_request_one()

2013-04-29 Thread Jingoo Han
Use devm_gpio_request_one() to make cleanup paths simpler. Also, GPIOF_DIR_OUT | GPIOF_INIT_LOW is replaced with GPIOF_OUT_INIT_LOW. Signed-off-by: Jingoo Han --- drivers/watchdog/wm831x_wdt.c | 17 ++--- 1 files changed, 6 insertions(+), 11 deletions(-) diff --git

[PATCH RESEND 2/2] watchdog: wm831x_wdt: use devm_gpio_request_one()

2013-04-29 Thread Jingoo Han
Use devm_gpio_request_one() to make cleanup paths simpler. Also, GPIOF_DIR_OUT | GPIOF_INIT_LOW is replaced with GPIOF_OUT_INIT_LOW. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/wm831x_wdt.c | 17 ++--- 1 files changed, 6 insertions(+), 11 deletions(-) diff

Re: [PATCH RESEND 2/2] watchdog: wm831x_wdt: use devm_gpio_request_one()

2013-04-29 Thread Guenter Roeck
On Mon, Apr 29, 2013 at 06:31:20PM +0900, Jingoo Han wrote: Use devm_gpio_request_one() to make cleanup paths simpler. Also, GPIOF_DIR_OUT | GPIOF_INIT_LOW is replaced with GPIOF_OUT_INIT_LOW. Signed-off-by: Jingoo Han jg1@samsung.com Reviewed-by: Guenter Roeck li...@roeck-us.net -- To