Markus Elfring 610442f85c
spi: slave-mt27xx: Call clk_disable_unprepare() only once in mtk_spi_slave_probe()
A clk_disable_unprepare(mdata->spi_clk) call was immediately used
after a return value check for a devm_spi_register_controller() call
in this function implementation.
Thus call such a function only once instead directly before the check.

This issue was transformed by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Link: https://patch.msgid.link/9e736d33-b07f-40a0-8fb6-8c3212593b77@web.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-09-30 01:12:23 +02:00
..
2024-07-08 17:01:10 +01:00
2024-09-12 12:38:44 +01:00
2024-09-12 12:38:44 +01:00
2024-07-08 17:01:10 +01:00
2024-06-25 20:04:31 +01:00
2024-09-30 01:12:21 +02:00
2024-09-30 01:12:21 +02:00
2024-09-17 10:31:31 +02:00
2024-07-15 18:03:43 -07:00
2024-09-30 01:12:21 +02:00
2024-09-30 01:12:21 +02:00
2024-09-02 12:56:31 +01:00
2024-06-11 11:38:25 +01:00
2024-09-30 01:12:21 +02:00
2024-09-30 01:12:21 +02:00
2023-08-21 14:29:37 +01:00
2024-09-30 01:12:21 +02:00
2024-07-05 18:47:46 +01:00
2024-09-12 12:38:44 +01:00