From: Mark Brown Date: Thu, 9 Apr 2026 19:19:36 +0000 (+0100) Subject: regulator: fix OF node imbalance on reuse X-Git-Tag: v7.1-rc1~154^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e7ef5ec6d1f0568e5c11ceeb729f412560ad8ef7;p=thirdparty%2Fkernel%2Flinux.git regulator: fix OF node imbalance on reuse Johan Hovold says: These drivers reuse the OF node of their parent multi-function device but fail to take another reference to balance the one dropped by the platform bus code when unbinding the MFD and deregistering the child devices. Fix this by using the intended helper for reusing OF nodes. Note that the first two patches will cause a trivial conflict with Doug's series adding accessor functions for struct device flags which has now been merged to the driver-core tree: https://lore.kernel.org/r/20260406232444.3117516-1-dianders@chromium.org Link: https://patch.msgid.link/20260408073055.5183-1-johan@kernel.org --- e7ef5ec6d1f0568e5c11ceeb729f412560ad8ef7