summaryrefslogtreecommitdiffstats
path: root/drivers/ps3
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2024-04-09 20:59:39 +0200
committerRob Herring <robh@kernel.org>2024-04-15 15:40:40 +0200
commit1c5e3d9bf33b811e1c6dd9081b322004acc4a1fd (patch)
treee3de2e82c97a3114bbfc3d2e32659215f52c2c4f /drivers/ps3
parentdt-bindings: serial: fsl-linflexuart: add compatible for S32G3 (diff)
downloadlinux-1c5e3d9bf33b811e1c6dd9081b322004acc4a1fd.tar.xz
linux-1c5e3d9bf33b811e1c6dd9081b322004acc4a1fd.zip
of: Add a helper to free property struct
Freeing a property struct is 3 kfree()'s which is duplicated in multiple spots. Add a helper, __of_prop_free(), and replace all the open coded cases in the DT code. Reviewed-by: Saravana Kannan <saravanak@google.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20240409-dt-cleanup-free-v2-1-5b419a4af38d@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions