From patchwork Wed Sep 4 12:29:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 11129997 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AFD4216B1 for ; Wed, 4 Sep 2019 12:34:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9BA2E23400 for ; Wed, 4 Sep 2019 12:34:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728941AbfIDMe1 (ORCPT ); Wed, 4 Sep 2019 08:34:27 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:56818 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728878AbfIDMe0 (ORCPT ); Wed, 4 Sep 2019 08:34:26 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 9CD8AFFFA055F3DC3ABE; Wed, 4 Sep 2019 20:34:24 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.439.0; Wed, 4 Sep 2019 20:34:17 +0800 From: YueHaibing To: , , , , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , , , , , , , Subject: [PATCH -next 00/15] use devm_platform_ioremap_resource() to simplify code Date: Wed, 4 Sep 2019 20:29:24 +0800 Message-ID: <20190904122939.23780-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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(-)