From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DA40C3A5A7 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 7D8F621670 for ; Wed, 4 Sep 2019 12:34:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730054AbfIDMe1 (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 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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(-) -- 2.7.4