Skip to content

mfd syscon and altera-sysmgr cleanup

Peter Griffin linux-arm-kernel lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3mfd: syscon: call of_node_put() only when of_parse_phandle() takes a refdrivers/mfd/syscon.c+3 -10 replies
2/3mfd: syscon: remove extern from function prototypesinclude/linux/mfd/syscon.h+11 -140 replies
3/3mfd: altera-sysmgr: call of_node_put() only when of_parse_phandle() takes a refdrivers/mfd/altera-sysmgr.c+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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