Messages in this thread | | | Subject | Re: [PATCH] of: i2c: Export single device registration method | From | Pantelis Antoniou <> | Date | Mon, 13 Jan 2014 15:21:17 +0200 |
| |
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@antoniou-consulting.com> > > 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
| |