Re: [PATCH v12 1/7] of: device: Export of_device_make_bus_id()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 05 Oct 2023 17:59:01 +0200, Miquel Raynal wrote:
> This helper is really handy to create unique device names based on their
> device tree path, we may need it outside of the OF core (in the NVMEM
> subsystem) so let's export it. As this helper has nothing patform
> specific, let's move it to of/device.c instead of of/platform.c so we
> can add its prototype to of_device.h.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
> ---
>  drivers/of/device.c       | 41 +++++++++++++++++++++++++++++++++++++++
>  drivers/of/platform.c     | 40 --------------------------------------
>  include/linux/of_device.h |  6 ++++++
>  3 files changed, 47 insertions(+), 40 deletions(-)
> 

Acked-by: Rob Herring <robh@xxxxxxxxxx>





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux