From: George Cherian Date: Tue, 10 Jun 2014 04:40:08 +0000 (+0530) Subject: watchdog: shwdt: Remove the unnecessary check of resource after platform_get_resource() X-Git-Tag: cleanup-for-v3.18~100^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cdf25bb574c20efde0340ffa90f08d1609ef97c;p=pandora-kernel.git watchdog: shwdt: Remove the unnecessary check of resource after platform_get_resource() 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 Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed