[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240220115012.471689-1-peter.griffin@linaro.org>
Date: Tue, 20 Feb 2024 11:50:09 +0000
From: Peter Griffin <peter.griffin@...aro.org>
To: arnd@...db.de,
lee@...nel.org,
thor.thayer@...ux.intel.com
Cc: kernel-team@...roid.com,
krzysztof.kozlowski@...aro.org,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
pankaj.dubey@...sung.com,
tudor.ambarus@...aro.org,
andre.draszik@...aro.org,
saravanak@...gle.com,
willmcvicker@...gle.com,
Peter Griffin <peter.griffin@...aro.org>
Subject: [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(-)
--
2.44.0.rc0.258.g7320e95886-goog
Powered by blists - more mailing lists