mfd syscon and altera-sysmgr cleanup
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mfd: syscon: call of_node_put() only when of_parse_phandle() takes a refdrivers/ | +3 | 0 replies | |
| 2/3 | mfd: syscon: remove extern from function prototypesinclude/ | +11 | 0 replies | |
| 3/3 | mfd: altera-sysmgr: call of_node_put() only when of_parse_phandle() takes a refdrivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] mfd syscon and altera-sysmgr cleanup
Hi,
Whilst implementing a driver similar to altera-sysmgr for exynos it was noticed during the review feedback that we should only call of_node_put() if the property is provided otherwise nothing has taken a reference on the node. Both syscon and altera-sysmgr also have the same issue which this series fixes.
Another piece of review feedback was not to use extern keyword in the header file, so I also cleaned that up whilst being here.
regards,
Peter.
Peter Griffin (3):
mfd: syscon: call of_node_put() only when of_parse_phandle() takes a
ref
mfd: syscon: remove extern from function prototypes
mfd: altera-sysmgr: call of_node_put() only when of_parse_phandle()
takes a ref
drivers/mfd/altera-sysmgr.c | 4 +++- drivers/mfd/syscon.c | 4 +++- include/linux/mfd/syscon.h | 25 +++++++++++-------------- 3 files changed, 17 insertions(+), 16 deletions(-)
Signature · 1 line
2.44.0.rc0.258.g7320e95886-goog