Use devm_platform_ioremap_resource() to simplify the code a bit.Reviewed-By: Talel Shenhar <talel@xxxxxxxxxx>
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
---
drivers/thermal/thermal_mmio.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)