Re: [PATCH] of: spi: Export single device registration method and accessors (v2)

From: Alexander Sverdlin
Date: Wed Oct 29 2014 - 05:10:15 EST


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@xxxxxxxxxxxx>

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

> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/