Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756227AbaJ2JKK (ORCPT ); Wed, 29 Oct 2014 05:10:10 -0400 Received: from demumfd001.nsn-inter.net ([93.183.12.32]:49828 "EHLO demumfd001.nsn-inter.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755726AbaJ2JKF (ORCPT ); Wed, 29 Oct 2014 05:10:05 -0400 Message-ID: <5450AEAB.40200@nsn.com> Date: Wed, 29 Oct 2014 10:08:59 +0100 From: Alexander Sverdlin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: ext Pantelis Antoniou CC: Grant Likely , Rob Herring , Stephen Warren , Matt Porter , Koen Kooi , Greg Kroah-Hartman , Alison Chaiken , Dinh Nguyen , Jan Lubbe , Michael Stickel , Guenter Roeck , Dirk Behme , Alan Tull , Sascha Hauer , Michael Bohan , Ionut Nicu , Michal Simek , Matt Ranostay , Joel Becker , devicetree@vger.kernel.org, Wolfram Sang , linux-i2c@vger.kernel.org, Mark Brown , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Pete Popov , Dan Malek , Georgi Vlaev , Pantelis Antoniou Subject: Re: [PATCH] of: spi: Export single device registration method and accessors (v2) References: <1414572037-11306-1-git-send-email-pantelis.antoniou@konsulko.com> In-Reply-To: <1414572037-11306-1-git-send-email-pantelis.antoniou@konsulko.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-size: 740 X-purgate-ID: 151667::1414573742-0000437E-3AA35DEA/0/0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On 29/10/14 09:40, ext Pantelis Antoniou wrote: > Dynamically inserting spi device nodes requires the use of a single > device registration method. Rework and export it. > > Methods to lookup a device/master using a device node are added > as well, of_find_spi_master_by_node() & of_find_spi_device_by_node(). > > Changes since v1: > * Brown paper bug with parameter on of_register_spi_device(). > > Signed-off-by: Pantelis Antoniou Acked-by: Alexander Sverdlin > --- > drivers/spi/spi.c | 255 +++++++++++++++++++++++++++++++++--------------------- > 1 file changed, 157 insertions(+), 98 deletions(-) -- Best regards, Alexander Sverdlin. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/