diff options
author | Rob Herring <robh@kernel.org> | 2023-08-18 15:41:01 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-08-21 17:09:57 -0500 |
commit | fab610be30dbaa4ef5dcfabe4dc498c557a1b7ad (patch) | |
tree | b9e6f627170855e7332856402748b849346e5eae /scripts/gdb | |
parent | 6701c2c76a1ed4bb442235204820cfa24e8d5b9c (diff) |
of: Refactor node and property manipulation function locking
All callers of __of_{add,remove,update}_property() and
__of_{attach,detach}_node() wrap the call with the devtree_lock
spinlock. Let's move the spinlock into the functions. This allows moving
the sysfs update functions into those functions as well.
Link: https://lore.kernel.org/r/20230801-dt-changeset-fixes-v3-6-5f0410e007dd@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions