[PATCH -next 00/15] use devm_platform_ioremap_resource() to simplify code

From: YueHaibing
Date: Wed Sep 04 2019 - 08:34:28 EST


devm_platform_ioremap_resource() internally have platform_get_resource()
and devm_ioremap_resource() in it. So instead of calling them separately
use devm_platform_ioremap_resource() directly.

YueHaibing (15):
thermal: armada: use devm_platform_ioremap_resource() to simplify code
thermal: bcm2835: use devm_platform_ioremap_resource() to simplify
code
thermal: brcmstb: use devm_platform_ioremap_resource() to simplify
code
thermal: hisilicon: use devm_platform_ioremap_resource() to simplify
code
thermal: dove: use devm_platform_ioremap_resource() to simplify code
thermal: mtk: use devm_platform_ioremap_resource() to simplify code
thermal: kirkwood: use devm_platform_ioremap_resource() to simplify
code
thermal: tsens: use devm_platform_ioremap_resource() to simplify code
thermal: rockchip: use devm_platform_ioremap_resource() to simplify
code
thermal: spear: use devm_platform_ioremap_resource() to simplify code
thermal: stm32: use devm_platform_ioremap_resource() to simplify code
thermal: tango: use devm_platform_ioremap_resource() to simplify code
thermal: thermal_mmio: use devm_platform_ioremap_resource() to
simplify code
thermal: zx2967: use devm_platform_ioremap_resource() to simplify code
thermal: rcar: use devm_platform_ioremap_resource() to simplify code

drivers/thermal/armada_thermal.c | 4 +---
drivers/thermal/broadcom/bcm2835_thermal.c | 4 +---
drivers/thermal/broadcom/brcmstb_thermal.c | 4 +---
drivers/thermal/dove_thermal.c | 7 ++-----
drivers/thermal/hisi_thermal.c | 4 +---
drivers/thermal/kirkwood_thermal.c | 4 +---
drivers/thermal/mtk_thermal.c | 4 +---
drivers/thermal/qcom/tsens-common.c | 7 ++-----
drivers/thermal/rcar_thermal.c | 5 ++---
drivers/thermal/rockchip_thermal.c | 4 +---
drivers/thermal/spear_thermal.c | 4 +---
drivers/thermal/st/stm_thermal.c | 4 +---
drivers/thermal/tango_thermal.c | 4 +---
drivers/thermal/thermal_mmio.c | 4 +---
drivers/thermal/zx2967_thermal.c | 4 +---
15 files changed, 18 insertions(+), 49 deletions(-)

--
2.7.4