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
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
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 -
3 matches
Mail list logo