summaryrefslogtreecommitdiff
path: root/Documentation/arm64/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@oss.qualcomm.com>2026-05-30 21:44:15 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-06-05 17:19:50 +0200
commit8663e8334d7b6007f5d8a4e5dd270246f35107a6 (patch)
treedf3e21bc794f6c4b613eae3c344d31807d9c1fbf /Documentation/arm64/git@git.tavy.me:linux.git
parent120134fe75c6b0ae38f14eb8b548ad1e5761f912 (diff)
slimbus: qcom-ngd-ctrl: Fix up platform_driver registration
Device drivers should not invoke platform_driver_register()/unregister() in their probe and remove paths. They should further not rely on platform_driver_unregister() as their only means of "deleting" their child devices. Introduce a helper to unregister the child device and move the platform_driver_register()/unregister() to module_init()/exit(). Fixes: 917809e2280b ("slimbus: ngd: Add qcom SLIMBus NGD driver") Cc: stable@vger.kernel.org Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com> Signed-off-by: Srinivas Kandagatla <srini@kernel.org> Link: https://patch.msgid.link/20260530204421.116824-3-srini@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/arm64/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions