aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2024-04-09 13:59:39 -0500
committerRob Herring <[email protected]>2024-04-15 08:40:40 -0500
commit1c5e3d9bf33b811e1c6dd9081b322004acc4a1fd (patch)
treee3de2e82c97a3114bbfc3d2e32659215f52c2c4f /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent15f3df361720de343d125ca01b7b456b8d16327f (diff)
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 <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions