Re: [PATCH -next 13/15] thermal: thermal_mmio: use devm_platform_ioremap_resource() to simplify code

From: Talel Shenhar
Date: Wed Sep 04 2019 - 09:16:20 EST


Thanks.

Talel.

On 9/4/19 2:29 PM, YueHaibing wrote:
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
Reviewed-By: Talel Shenhar <talel@xxxxxxxxxx>
---
drivers/thermal/thermal_mmio.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)