From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751530AbdCCLJx (ORCPT ); Fri, 3 Mar 2017 06:09:53 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:32844 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751823AbdCCLJw (ORCPT ); Fri, 3 Mar 2017 06:09:52 -0500 Date: Fri, 3 Mar 2017 09:03:25 +0100 From: Thomas Petazzoni To: Alexandre Belloni Cc: Guenter Roeck , linux-watchdog@vger.kernel.org, Wenyou.Yang@microchip.com, linux-kernel@vger.kernel.org, Nicolas Ferre , Wim Van Sebroeck , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 3/4] watchodg: sama5d4: simplify probe Message-ID: <20170303090325.41b9ce64@free-electrons.com> In-Reply-To: <20170302173114.28508-4-alexandre.belloni@free-electrons.com> References: <20170302173114.28508-1-alexandre.belloni@free-electrons.com> <20170302173114.28508-4-alexandre.belloni@free-electrons.com> Organization: Free Electrons X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Thu, 2 Mar 2017 18:31:13 +0100, Alexandre Belloni wrote: > + irq = irq_of_parse_and_map(pdev->dev.of_node, 0); Any reason to use irq_of_parse_and_map() over the more conventional platform_get_irq() ? Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com