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:36:21 +0000 (08:36 +0200)
commit24a89674bde54c108467c00b56dbdafdc034e210
treec96ac158c39cff86c02662cd0ea4ecc761fd4587
parent91a63801c304dff36725b6e76bb18a30f7eb27d9
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