Messages in this thread | | | Date | Wed, 29 Oct 2014 10:08:59 +0100 | From | Alexander Sverdlin <> | Subject | Re: [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.
| |