summaryrefslogtreecommitdiff
path: root/drivers/of/platform.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-08-18 23:41:01 +0300
committerRob Herring <robh@kernel.org>2023-08-22 01:09:57 +0300
commitfab610be30dbaa4ef5dcfabe4dc498c557a1b7ad (patch)
treeb9e6f627170855e7332856402748b849346e5eae /drivers/of/platform.c
parent6701c2c76a1ed4bb442235204820cfa24e8d5b9c (diff)
downloadlinux-fab610be30dbaa4ef5dcfabe4dc498c557a1b7ad.tar.xz
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 'drivers/of/platform.c')
0 files changed, 0 insertions, 0 deletions