OSDN Git Service

dmaengine: qcom_hidma: comment platform_driver_register call
authorPhillip Potter <phil@philpotter.co.uk>
Mon, 3 May 2021 11:57:18 +0000 (13:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Jun 2021 06:38:09 +0000 (08:38 +0200)
commit5bbe8ae1cb97682dc17beeaef637fed6cbc90237
tree0550dd5a220d6f52bc1f1699260f627df5a27cd3
parent5761baafe988d4d0eaac0e5b0e64949074d9b15d
dmaengine: qcom_hidma: comment platform_driver_register call

[ Upstream commit 4df2a8b0ad634d98a67e540a4e18a60f943e7d9f ]

Place a comment in hidma_mgmt_init explaining why success must
currently be assumed, due to the cleanup issue that would need to
be considered were this module ever to be unloadable or were this
platform_driver_register call ever to fail.

Acked-By: Vinod Koul <vkoul@kernel.org>
Acked-By: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210503115736.2104747-52-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/qcom/hidma_mgmt.c