Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7357990ybp; Wed, 16 Oct 2019 07:34:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7L6slANxFAf49uv8HHYGTVb8rbjCigWe83KlcTGcPCYhqobBvcSpGARiWU1kZMytMyvwv X-Received: by 2002:a05:6402:7ca:: with SMTP id u10mr39322261edy.20.1571236456054; Wed, 16 Oct 2019 07:34:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571236456; cv=none; d=google.com; s=arc-20160816; b=qSKpDiHlVIv8XaxGvisIrUwR6OGZXu6NxWkSLLDDPsU7sGiShN+ZzkMPqz6mHfTaI5 5AcDTEMGHDlVs+ssTL5H/hLd1RAFac5TwAOd/4+VkmHqBARZPo/g6HFytoZUholaseD6 6FXNncUCqpUWK62aLasXPzKIOxszmRPGDpmO//zl9EnqSpcimBUrfrneNmskyvU/s9Bo MG50yndeVg6oXOnwHBHC5FYVxokrvnU9flfVLOWxCGBTfAxGnCdcCxeMQ7DlNmpGuvCN L/vyQawoRmJwK0GdoRa/MuQcH6YyjGJcTB66HD1Fe9M76Qf8F61g4x0Gt8Vqy2q+Mh7P 9WCA== 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=WiSGZ6gh+kE/DTXiAVCngfyOJ6LazFr5ItcVM/C7qDU=; b=o2vE/R1taKbieB0QDzRRJb02k4xXY2xJ1oxqfwYvkumwVGoh2is3Znyy8ZFc3OrAUA wuHtvaTnz8G8sW5aWKaDrVHlPfck3bqwcTxU3pgz6ShkXN5cJfyFRqGiStmKgKrtE+6K n1M52EotWYp+0hdfMZcfbrU1zhX7/aba1WIiOlqNraKX5AdgNmhIvmwv6wwDQ0OWhy/E os/X2zBemqgJdooYKn5aYqh+X/G9KNlCyvkrS5uj6mghBRMVcMVud2WfPWWeDVmKmqQK Zc9B2VTOCPVs6cKDD0Xi5EP5OYFmKQdF7DmgPAHorH3WhYyV1wzHdAq8JlnWUKVynKNK 7DTw== 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 j3si17335482edj.448.2019.10.16.07.33.52; Wed, 16 Oct 2019 07:34:16 -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 S2392530AbfJPKqr (ORCPT + 99 others); Wed, 16 Oct 2019 06:46:47 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:43510 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2392422AbfJPKqr (ORCPT ); Wed, 16 Oct 2019 06:46:47 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 58013CFF3E76FCB7C8C4; Wed, 16 Oct 2019 18:46:44 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.439.0; Wed, 16 Oct 2019 18:46:34 +0800 From: YueHaibing To: , , , , , , , , , , , , , , , , , , CC: , , , , , , , YueHaibing Subject: [PATCH -next 00/13] hwrng: use devm_platform_ioremap_resource() to simplify code Date: Wed, 16 Oct 2019 18:46:08 +0800 Message-ID: <20191016104621.26056-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 (13): hwrng: atmel - use devm_platform_ioremap_resource() to simplify code hwrng: bcm2835 - use devm_platform_ioremap_resource() to simplify code hwrng: exynos - use devm_platform_ioremap_resource() to simplify code hwrng: hisi - use devm_platform_ioremap_resource() to simplify code hwrng: ks-sa - use devm_platform_ioremap_resource() to simplify code hwrng: meson - use devm_platform_ioremap_resource() to simplify code hwrng: npcm - use devm_platform_ioremap_resource() to simplify code hwrng: omap - use devm_platform_ioremap_resource() to simplify code hwrng: pasemi - use devm_platform_ioremap_resource() to simplify code hwrng: pic32 - use devm_platform_ioremap_resource() to simplify code hwrng: st - use devm_platform_ioremap_resource() to simplify code hwrng: tx4939 - use devm_platform_ioremap_resource() to simplify code hwrng: xgene - use devm_platform_ioremap_resource() to simplify code drivers/char/hw_random/atmel-rng.c | 4 +--- drivers/char/hw_random/bcm2835-rng.c | 5 +---- drivers/char/hw_random/exynos-trng.c | 4 +--- drivers/char/hw_random/hisi-rng.c | 4 +--- drivers/char/hw_random/ks-sa-rng.c | 4 +--- drivers/char/hw_random/meson-rng.c | 4 +--- drivers/char/hw_random/npcm-rng.c | 4 +--- drivers/char/hw_random/omap-rng.c | 4 +--- drivers/char/hw_random/pasemi-rng.c | 4 +--- drivers/char/hw_random/pic32-rng.c | 4 +--- drivers/char/hw_random/st-rng.c | 4 +--- drivers/char/hw_random/tx4939-rng.c | 4 +--- drivers/char/hw_random/xgene-rng.c | 4 +--- 13 files changed, 13 insertions(+), 40 deletions(-) -- 2.7.4