Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3042386ybp; Sun, 6 Oct 2019 03:32:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmhhgmejaT9qO2upgsrrJekL0DMYd7TCeM6dIKE/KsoOfBdewiR7GZcZkUPuWJNn5UfzBP X-Received: by 2002:a50:fa9a:: with SMTP id w26mr24114419edr.227.1570357968763; Sun, 06 Oct 2019 03:32:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570357968; cv=none; d=google.com; s=arc-20160816; b=nye1KoB/+AU9zV2jN2pHj9TCHTvNEQZT3Trw20q74n/USxAPr9x3AX82p1dp2k5sl+ EnRNoOask4C3G9JsR38Iv7V802p2N6CZHW6peoXS3c2DdOf2U/MEibz+K3/F7ldpsTbj dIB0oPLYIh6k5+LME0W1/us2yC6deXGkBvSWN9nWmdYEWTpyjcOFXhRDj9UhhVyVkfpY D1XEbN/ZiJTCay41XqyZjJARfrBYO96zgajX9NcmOg8eCY+HZIq5aSW3HuoCfeYQd2bC ufWEGw/IiHXUTrCsfQYHBTSFatxuWn+Nkw5Z5/uIRTLRjtbYJswpJC9wFOsg496M+de4 x4yA== 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=mOjGVSX3u31onGFxmsfZYWrNaZVhrGqGhTjlTQwT42g=; b=rNe+sBbOPiyLQ+UMLVI2Q1gi7AUgqHF/uJ47ab1U1koovkLsBkb6168Pf28H9azM2r Mg9AqhDvUjtXPVldOHqDadAwXFohHLls3UPEAFnBA7bECAMRP+62C06MZKQyFB818WIq AyodoYr52C4I3WLfXXNJbGHik93JufTFLLycp+FrnxBHh4n5DsqtDx6dm66HiUdTR2Zo wSd2U2+yMo+UsdV4V9DqXHrSBDEACUKl67j9DyyMcH6+ptmjxk71Dqw8OC02qGmOfHII /Yhw3CRQHn4tCmq7MnGViDMd5fnMoOaQLwPpxP50N03ngLys5KZffAKqWXcpwP8MP23f BuWA== 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 b22si5491568eje.299.2019.10.06.03.32.24; Sun, 06 Oct 2019 03:32:48 -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 S1726437AbfJFKcK (ORCPT + 99 others); Sun, 6 Oct 2019 06:32:10 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3205 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726271AbfJFKcJ (ORCPT ); Sun, 6 Oct 2019 06:32:09 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 692D91EFCA547C100FC8; Sun, 6 Oct 2019 18:32:07 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.439.0; Sun, 6 Oct 2019 18:31:58 +0800 From: YueHaibing To: , , , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , , , , , , , YueHaibing Subject: [PATCH -next 00/34] rtc: use devm_platform_ioremap_resource() to simplify code Date: Sun, 6 Oct 2019 18:29:19 +0800 Message-ID: <20191006102953.57536-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 (34): rtc: asm9260: use devm_platform_ioremap_resource() to simplify code rtc: rtc-aspeed: use devm_platform_ioremap_resource() to simplify code rtc: brcmstb-waketimer: use devm_platform_ioremap_resource() to simplify code rtc: at91sam9: use devm_platform_ioremap_resource() to simplify code rtc: cadence: use devm_platform_ioremap_resource() to simplify code rtc: coh901331: use devm_platform_ioremap_resource() to simplify code rtc: davinci: use devm_platform_ioremap_resource() to simplify code rtc: digicolor: use devm_platform_ioremap_resource() to simplify code rtc: ds1216: use devm_platform_ioremap_resource() to simplify code rtc: ds1511: use devm_platform_ioremap_resource() to simplify code rtc: ds1553: use devm_platform_ioremap_resource() to simplify code rtc: ep93xx: use devm_platform_ioremap_resource() to simplify code rtc: jz4740: use devm_platform_ioremap_resource() to simplify code rtc: lpc24xx: use devm_platform_ioremap_resource() to simplify code rtc: lpc32xx: use devm_platform_ioremap_resource() to simplify code rtc: meson: use devm_platform_ioremap_resource() to simplify code rtc: mt7622: use devm_platform_ioremap_resource() to simplify code rtc: mv: use devm_platform_ioremap_resource() to simplify code rtc: omap: use devm_platform_ioremap_resource() to simplify code rtc: pic32: use devm_platform_ioremap_resource() to simplify code rtc: rtd119x: use devm_platform_ioremap_resource() to simplify code rtc: s3c: use devm_platform_ioremap_resource() to simplify code rtc: sa1100: use devm_platform_ioremap_resource() to simplify code rtc: spear: use devm_platform_ioremap_resource() to simplify code rtc: stk17ta8: use devm_platform_ioremap_resource() to simplify code rtc: ds1286: use devm_platform_ioremap_resource() to simplify code rtc: st-lpc: use devm_platform_ioremap_resource() to simplify code rtc: stm32: use devm_platform_ioremap_resource() to simplify code rtc: sunxi: use devm_platform_ioremap_resource() to simplify code rtc: tegra: use devm_platform_ioremap_resource() to simplify code rtc: tx4939: use devm_platform_ioremap_resource() to simplify code rtc: vt8500: use devm_platform_ioremap_resource() to simplify code rtc: xgene: use devm_platform_ioremap_resource() to simplify code rtc: zynqmp: use devm_platform_ioremap_resource() to simplify code drivers/rtc/rtc-asm9260.c | 4 +--- drivers/rtc/rtc-aspeed.c | 4 +--- drivers/rtc/rtc-at91sam9.c | 4 +--- drivers/rtc/rtc-brcmstb-waketimer.c | 4 +--- drivers/rtc/rtc-cadence.c | 4 +--- drivers/rtc/rtc-coh901331.c | 4 +--- drivers/rtc/rtc-davinci.c | 4 +--- drivers/rtc/rtc-digicolor.c | 4 +--- drivers/rtc/rtc-ds1216.c | 4 +--- drivers/rtc/rtc-ds1286.c | 4 +--- drivers/rtc/rtc-ds1511.c | 4 +--- drivers/rtc/rtc-ds1553.c | 4 +--- drivers/rtc/rtc-ep93xx.c | 4 +--- drivers/rtc/rtc-jz4740.c | 4 +--- drivers/rtc/rtc-lpc24xx.c | 4 +--- drivers/rtc/rtc-lpc32xx.c | 4 +--- drivers/rtc/rtc-meson.c | 4 +--- drivers/rtc/rtc-mt7622.c | 4 +--- drivers/rtc/rtc-mv.c | 4 +--- drivers/rtc/rtc-omap.c | 4 +--- drivers/rtc/rtc-pic32.c | 4 +--- drivers/rtc/rtc-rtd119x.c | 4 +--- drivers/rtc/rtc-s3c.c | 4 +--- drivers/rtc/rtc-sa1100.c | 4 +--- drivers/rtc/rtc-spear.c | 4 +--- drivers/rtc/rtc-st-lpc.c | 4 +--- drivers/rtc/rtc-stk17ta8.c | 4 +--- drivers/rtc/rtc-stm32.c | 4 +--- drivers/rtc/rtc-sunxi.c | 4 +--- drivers/rtc/rtc-tegra.c | 4 +--- drivers/rtc/rtc-tx4939.c | 4 +--- drivers/rtc/rtc-vt8500.c | 4 +--- drivers/rtc/rtc-xgene.c | 4 +--- drivers/rtc/rtc-zynqmp.c | 5 +---- 34 files changed, 34 insertions(+), 103 deletions(-) -- 2.7.4