Message ID | 1427746633-9137-3-git-send-email-daniel.lezcano@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDIYTLXUW4BRBBHA42UAKGQERMQABOA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 45452218BF for <linaro@patches.linaro.org>; Mon, 30 Mar 2015 20:20:21 +0000 (UTC) Received: by wgym13 with SMTP id m13sf8180145wgy.2 for <linaro@patches.linaro.org>; Mon, 30 Mar 2015 13:20:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=nK1eGUY3LwnQzqwnytu3m4YOKtZHc08zCF9x+nhMbzs=; b=fq/tFrp0Y5Mk0aF54evPOCzQafy4VC8r1wlHYADpI+Kh2J6B5Xwm5XvtmTQcMpItyu PWuTUKbGZwh6nNidgkoNTvFuRW/tI86mJNWn9HN9YE6/PsL+WEc0wk6oh7VblOh7aEL2 NlpxYOXP421XiRiZvRsO4I+N1opISlDmsi6ce2igUIGhKvggMROhvpz+XC6otSWCJfNf gOiQI5z4xsnziAPgkMyy6Nypoofrw34tXCEXGV7pUJ7kr55jLsjno92nxT0I9TIZO+Hm iiXe4szjA/48p8mqC2IjeB13lmC5d6TRzF8vB9AXTClMMOqbe+ZCv15jpKP9u9FcrQwX AATA== X-Gm-Message-State: ALoCoQlFeHaTBUBXe3VN10MN0426tzuvSgJ3AHfAEqy25YuHRGb6ceR6UeUJBo1J3X5AkllvDslt X-Received: by 10.112.130.71 with SMTP id oc7mr3423943lbb.13.1427746820606; Mon, 30 Mar 2015 13:20:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.179.131 with SMTP id dg3ls610227lac.74.gmail; Mon, 30 Mar 2015 13:20:20 -0700 (PDT) X-Received: by 10.152.28.233 with SMTP id e9mr28047828lah.3.1427746820307; Mon, 30 Mar 2015 13:20:20 -0700 (PDT) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id f8si7720197lam.159.2015.03.30.13.20.20 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 13:20:20 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by lagg8 with SMTP id g8so112929415lag.1 for <patchwork-forward@linaro.org>; Mon, 30 Mar 2015 13:20:20 -0700 (PDT) X-Received: by 10.112.141.202 with SMTP id rq10mr28173252lbb.88.1427746820218; Mon, 30 Mar 2015 13:20:20 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.57.201 with SMTP id k9csp1369196lbq; Mon, 30 Mar 2015 13:20:19 -0700 (PDT) X-Received: by 10.66.97.106 with SMTP id dz10mr62968498pab.66.1427746818164; Mon, 30 Mar 2015 13:20:18 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rn6si15770228pab.108.2015.03.30.13.20.16; Mon, 30 Mar 2015 13:20:18 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754626AbbC3UUO (ORCPT <rfc822;ivan.khoronzhuk@linaro.org> + 27 others); Mon, 30 Mar 2015 16:20:14 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:34110 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754032AbbC3URW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 30 Mar 2015 16:17:22 -0400 Received: by wibg7 with SMTP id g7so100143563wib.1 for <linux-kernel@vger.kernel.org>; Mon, 30 Mar 2015 13:17:21 -0700 (PDT) X-Received: by 10.194.142.205 with SMTP id ry13mr68773329wjb.73.1427746641551; Mon, 30 Mar 2015 13:17:21 -0700 (PDT) Received: from mai.lan (135-224-190-109.dsl.ovh.fr. [109.190.224.135]) by mx.google.com with ESMTPSA id ha10sm17205957wjc.37.2015.03.30.13.17.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Mar 2015 13:17:20 -0700 (PDT) From: Daniel Lezcano <daniel.lezcano@linaro.org> To: tglx@linutronix.de, mingo@kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, maxime.ripard@free-electrons.com, viresh.kumar@linaro.org, ben.dooks@codethink.co.uk, digetx@gmail.com, hdegoede@redhat.com, laurent.pinchart+renesas@ideasonboard.com Subject: [PATCH 03/11] clocksource: sun5i: Use of_io_request_and_map Date: Mon, 30 Mar 2015 22:17:05 +0200 Message-Id: <1427746633-9137-3-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427746633-9137-1-git-send-email-daniel.lezcano@linaro.org> References: <5519AEB2.8050306@linaro.org> <1427746633-9137-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/clocksource/timer-sun5i.c b/drivers/clocksource/timer-sun5i.c index 5320846..6b08694 100644 --- a/drivers/clocksource/timer-sun5i.c +++ b/drivers/clocksource/timer-sun5i.c @@ -143,7 +143,8 @@ static void __init sun5i_timer_init(struct device_node *node) int ret, irq; u32 val; - timer_base = of_iomap(node, 0); + timer_base = of_io_request_and_map(node, 0, + of_node_full_name(node)); if (!timer_base) panic("Can't map registers");