Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp594198ybp; Wed, 9 Oct 2019 00:48:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOt6TBVxAeMSLpWJtjPbEdi7BMqjxCjtg9hpdmJtVhivNjCMxewEe6gxUrds82wfbBS5q2 X-Received: by 2002:a17:906:69cc:: with SMTP id g12mr1500992ejs.235.1570607301139; Wed, 09 Oct 2019 00:48:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570607301; cv=none; d=google.com; s=arc-20160816; b=M3FPv812j601buXRYbp5R7Bz9Cdx5kqIaT7E8bF4+lCk+7Gr0Z/q/l+gEJCeVDdAXR b+zIJhb+wxh288B9ng86nZOSLZiDdjq57bWsRHTc/aBcYmp+ieUyRv3BZ3ekW3OIW0dx ZlBMH3zfofWTF11HhJ+fx0LFIC+aYHVSXuKVXNZWhtm1k0KFvxMFg1vJMIAFoMWV+k8F QMlXGpiwe5ZoCrUVrtbHE+GxYIdniZGdGl//qPtB5xglrpnK5mWbRog8pGcfgvnBKw64 Ohu1B0LhTBYGKEvxt0fL1Y/feKBZ9SY0HbRJ+NR0d5G7t6aqrugZ1iIjfgnpYgYAMlwi qm7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=hZEfc+r3FkjJNXGg5OrQndZ7EVhjrXvy0Arp8Ba6y3Y=; b=PmDzhvwrVZJ4Es4zgQNAwLZeMxXkOz3jOJZYgvjJgBsNBacWlCdHd/qaQ3TaQCZwj+ P+Ri6i4COLAZWWRsj3oKr0oPmCrdOzWyQOz5b+Sfb7o+RiMfu2jU4ycWzIaDyAgN8GH1 C1eH9UQGTTaduDSsRm5t9sfjqIYfa9anhQOjNkkQWENzNYdyV6f0SKA702+zIPgbU+J9 6chMnro7l9wB4OyoMtisZFMk2yAlxYIe9pWUnTJ1bWjPGQ+uG6sjXBzF0ay90st+lgBL oJ+XxAYB0WyGyIGAIDAcPx1rqr7SErbIqf6XdR6Vd6HsxChaO/u6YIuTNW40pjfJxYAu 4URw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wjvQivs+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s42si800385edm.292.2019.10.09.00.47.57; Wed, 09 Oct 2019 00:48:21 -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; dkim=pass header.i=@linaro.org header.s=google header.b=wjvQivs+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729820AbfJIHql (ORCPT + 99 others); Wed, 9 Oct 2019 03:46:41 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:43941 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725848AbfJIHqk (ORCPT ); Wed, 9 Oct 2019 03:46:40 -0400 Received: by mail-lj1-f194.google.com with SMTP id n14so1418189ljj.10 for ; Wed, 09 Oct 2019 00:46:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hZEfc+r3FkjJNXGg5OrQndZ7EVhjrXvy0Arp8Ba6y3Y=; b=wjvQivs+C+mNfu/kBT+oqZ7KD4q6+IZ5Kth6hhfGFbltlKdqAJ38C7ajvyZ31te4gJ C5EqhO//ZRTNxmVHsnWpL4FPvGmq6RGPaLctgOfRFcn64vZmRPcZzkMMWQJ5TtpYGxOS ++ZFPLLjrWzBCECqMtnDgmicGmA0oWmKIWQeYM/ZOxDhwuAVKbdEN/zSfWvAA3hLQZZq ubaT/P3ZZ59MYBEbi3oE/Ge+OFG+iQYKsWIiR5Ef3yKK7kivB5XTNZls9k74vNap0dO9 ytr/crl5hSQEYBvLZjmMXVpBhkzUNMwtOdUVNlFdxRC9uu49L9C1IMRlaxaQ+WnE44XU dFHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hZEfc+r3FkjJNXGg5OrQndZ7EVhjrXvy0Arp8Ba6y3Y=; b=uWNkTEfz1e4TaCJ/cAhpTLoz4ks5O0lLOdhdjX0WsgXkZyL1+dLV46vunKDnKpIeoz upXSt1DRSBmP66O6/DIY3NFSVvlznKGEZSLcAKmtlQsYvsUQmwJWWaMaGbNIWRAV8vfV 4eRsrMrtR2b85tWD8PvpgEySQ/gIpn8o1aGCb90inpDhHnWugAhRQswaRla2ogeuZfdN y+kntuO6ftsLEXfdyv6Nfqav2HT6PGx5Y8zgy+Co4XMjeslipB135PEaIf31u5B/Jhx1 VQoZ6AKsSS7VpcSot6WuOprXZFECABunyjFrhkbru3OXweDpwniwtio+pMRU+q7DCZY2 0eQA== X-Gm-Message-State: APjAAAWyZ3hhDstIvlWVM487Ge+GBZ3rZU1/w1sux5pYDtTnlHjX/gpN ca4Iqtzptighj4QLYi1gdIo8TRSYYO4xMa11IyCtUg== X-Received: by 2002:a2e:80d1:: with SMTP id r17mr1435527ljg.118.1570607198839; Wed, 09 Oct 2019 00:46:38 -0700 (PDT) MIME-Version: 1.0 References: <20191006102953.57536-1-yuehaibing@huawei.com> <20191006102953.57536-7-yuehaibing@huawei.com> In-Reply-To: <20191006102953.57536-7-yuehaibing@huawei.com> From: Linus Walleij Date: Wed, 9 Oct 2019 09:46:27 +0200 Message-ID: Subject: Re: [PATCH -next 06/34] rtc: coh901331: use devm_platform_ioremap_resource() to simplify code To: YueHaibing Cc: Alessandro Zummo , Alexandre Belloni , Joel Stanley , Andrew Jeffery , Nicolas Ferre , Ludovic Desroches , Brian Norris , Gregory Fong , Florian Fainelli , bcm-kernel-feedback-list , Baruch Siach , Paul Cercueil , Vladimir Zapolskiy , Sylvain Lemieux , Kevin Hilman , huang eddie , Sean Wang , Matthias Brugger , Patrice CHOTARD , Maxime Coquelin , Alexandre TORGUE , Maxime Ripard , Chen-Yu Tsai , "thierry.reding@gmail.com" , Jon Hunter , Tony Prisk , Michal Simek , linux-rtc@vger.kernel.org, "linux-kernel@vger.kernel.org" , Linux ARM , linux-aspeed , "open list:ARM/Amlogic Meson..." , "moderated list:ARM/Mediatek SoC support" , linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 6, 2019 at 12:32 PM YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Signed-off-by: YueHaibing Reviewed-by: Linus Walleij Yours, Linus Walleij