[RESEND PATCH 3/3] watchdog: shwdt: Remove the unnecessary check of resource after platform_get_resource()

2014-07-16 Thread George Cherian
devm_ioremap_resource check for a valid resource. Remove the unnecessary check. Also group platform_get_resource and devm_ioremap_resource together for better readability. Signed-off-by: George Cherian Reviewed-by: Guenter Roeck --- drivers/watchdog/shwdt.c | 5 + 1 file changed, 1 insertio

Re: [PATCH 3/3] watchdog: shwdt: Remove the unnecessary check of resource after platform_get_resource()

2014-06-10 Thread Guenter Roeck
On Tue, Jun 10, 2014 at 10:10:08AM +0530, George Cherian wrote: > devm_ioremap_resource check for a valid resource. Remove the unnecessary > check. > Also group platform_get_resource and devm_ioremap_resource together for better > readability. > > Signed-off-by: George Cherian Reviewed-by: Guen

[PATCH 3/3] watchdog: shwdt: Remove the unnecessary check of resource after platform_get_resource()

2014-06-09 Thread George Cherian
devm_ioremap_resource check for a valid resource. Remove the unnecessary check. Also group platform_get_resource and devm_ioremap_resource together for better readability. Signed-off-by: George Cherian --- drivers/watchdog/shwdt.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff -