]> Git Repo - linux.git/commit - drivers/of/dynamic.c
of: Refactor node and property manipulation function locking
authorRob Herring <[email protected]>
Fri, 18 Aug 2023 20:41:01 +0000 (15:41 -0500)
committerRob Herring <[email protected]>
Mon, 21 Aug 2023 22:09:57 +0000 (17:09 -0500)
commitfab610be30dbaa4ef5dcfabe4dc498c557a1b7ad
treeb9e6f627170855e7332856402748b849346e5eae
parent6701c2c76a1ed4bb442235204820cfa24e8d5b9c
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/[email protected]
Signed-off-by: Rob Herring <[email protected]>
drivers/of/base.c
drivers/of/dynamic.c
This page took 0.053345 seconds and 4 git commands to generate.