Re: [PATCH v5 01/10] of: dynamic: Add of_changeset_update_prop_string

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

 



On Thu, Aug 22, 2024 at 4:20 AM Chen-Yu Tsai <wenst@xxxxxxxxxxxx> wrote:
>
> Add a helper function to add string property updates to an OF changeset.
> This is similar to of_changeset_add_prop_string(), but instead of adding
> the property (and failing if it exists), it will update the property.
>
> This shall be used later in the DT hardware prober.
>
> Signed-off-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
> ---
> Changes since v4:
> - Use modern designated initializer for |prop|
>
> Changes since v3:
> - Use new __of_prop_free() helper
> - Add new line before header declaration
>
> Changes since v2:
> - New patch added in v3
> ---
>  drivers/of/dynamic.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
>  include/linux/of.h   |  4 ++++
>  2 files changed, 48 insertions(+)

Reviewed-by: Rob Herring (Arm) <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