Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp635985ybe; Wed, 4 Sep 2019 05:35:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7FoCO43PYJoxpzQmBPAKv4DS5HxWDpnZP5SGXiXgRqKb9QUcIdI0TQMCRXC2SkjM/LfCK X-Received: by 2002:a17:902:6b43:: with SMTP id g3mr40383453plt.124.1567600538518; Wed, 04 Sep 2019 05:35:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567600538; cv=none; d=google.com; s=arc-20160816; b=iuXziVPYcG8xXbOJAeBUdGb5D9ObX6MA9Zc3Q1rWXDtDDbOewOcPBC+5cEWfjwS7x/ 0YZh7sA8UJ+fvOnprZStCZ2+3VhgWSmwi4URMZd7vadf+0k29amAki7KOlpU8X8zFItn KSEyuKs6bN6K4eAaFWVeeOOT/G604H4Ghc9VsPeqvgDGL7Biz6eF6dj4pTboBOqNLKRz OfRJr94NTgeFJvsrvsGJath/9wsiaVV5PaBF7FnKzHxnHVgCvDLNG/izcL6pw+jtLIT5 GGu6ugxTTl0lF90CU+4J2iNVChb96FtGefijgw9rVaEgHS4j2z7nWz/8/u2inSaTWf3z Rzhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=r5DXKCcfd5Pjr7MVqRah/Q4cWtBNG0IYk+WM5Lps0yc=; b=ByKUkVrfDINaWOoO7B7PaHS7TC33lSSarjjKCVmjhZulRYoC/jZWzNHyJVLgjIOWrn Qeo7SKEiAiV7VXGnRMgKVo0vrfdMgm7LhgGZkShHUnTFazFbdSIdr3FkLxYMEkcgEsnr wVuo9KX+K56w/dsJtSm0v07PI0vTBN/tyZVx/mni30JeM4k7PaO2CMZekmWJwo7H3zLM OsYoeF7d+wuwuYRmj/Igh3AVm8lYjezfRIu9PBWXvyLtLwg89yZhyX6MsspXELtovfTA Ie+DO/UChpv61uAsxLW9QMMa2tUNrxobTzqsC0bYCXLFUOmaXMHVJRjP6C6C55JP6krd 6b/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h27si17374755pgh.388.2019.09.04.05.35.21; Wed, 04 Sep 2019 05:35:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730067AbfIDMe1 (ORCPT + 99 others); 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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