can: m_can: m_can_class_unregister(): remove erroneous m_can_clk_stop()
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 15 Dec 2020 10:32:37 +0000 (11:32 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 7 Jan 2021 08:27:19 +0000 (09:27 +0100)
commitc4aec381ab98c9189d47b935832541d520f1f67f
tree061a7fddadaec6d1068b32bc80cc91a7cc3496c7
parent1f685e6adbbe3c7b1bd9053be771b898d9efa655
can: m_can: m_can_class_unregister(): remove erroneous m_can_clk_stop()

In m_can_class_register() the clock is started, but stopped on exit. When
calling m_can_class_unregister(), the clock is stopped a second time.

This patch removes the erroneous m_can_clk_stop() in  m_can_class_unregister().

Fixes: f524f829b75a ("can: m_can: Create a m_can platform framework")
Cc: Dan Murphy <dmurphy@ti.com>
Cc: Sriram Dash <sriram.dash@samsung.com>
Reviewed-by: Sean Nyekjaer <sean@geanix.com>
Link: https://lore.kernel.org/r/20201215103238.524029-2-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c