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

From: Guenter Roeck
Date: Tue Jun 10 2014 - 15:25:00 EST


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 <george.cherian@xxxxxx>

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/