lkml.org 
[lkml]   [2014]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] of: spi: Export single device registration method and accessors (v2)
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 <pantelis.antoniou@konsulko.com>

Acked-by: Alexander Sverdlin <alexaner.sverdlin@nsn.com>

> ---
> drivers/spi/spi.c | 255 +++++++++++++++++++++++++++++++++---------------------
> 1 file changed, 157 insertions(+), 98 deletions(-)

--
Best regards,
Alexander Sverdlin.


\
 
 \ /
  Last update: 2014-10-29 10:21    [W:1.911 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site