Re: [PATCH] of: i2c: Export single device registration method

From: Pantelis Antoniou
Date: Mon Jan 13 2014 - 08:21:32 EST


Hi Wolfram,

On Jan 13, 2014, at 2:17 PM, Wolfram Sang wrote:

> On Tue, Nov 05, 2013 at 07:57:20PM +0200, Pantelis Antoniou wrote:
>> Dynamically inserting i2c client device nodes requires the use
>> of a single device registration method. Rework and export it.
>>
>> Don't be put off by the weird patch format, it's a simple move
>> of the operations applied on each device to a function.
>>
>> Signed-off-by: Pantelis Antoniou <panto@xxxxxxxxxxxxxxxxxxxxxxx>
>
> Are there public patches somewhere showing the use case of this patch?
>

Of course.

> https://github.com/pantoniou/linux-beagle-track-mainline/blob/merge-min-20131105/drivers/of/overlay.c#L454

This is the how i2c DT overlays work, and is the method that the beaglebone releases work with i2c devices.

I am in the process of updating the patchset, but this part of the patch is unaffected.

Regards

-- Pantelis

--
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/