spi: ath79: remove spi-master setup and cleanup assignment
authorDavid Bauer <mail@david-bauer.net>
Wed, 3 Mar 2021 16:08:37 +0000 (17:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 May 2021 12:47:16 +0000 (14:47 +0200)
commit2e40d8cd3db5ce25ec11544daa6c699469c1aeba
treec2436604f72b9c0cddcfd2e4a4736a1cb34ba2e3
parent91629921cef961215bdc3b22ae3348e903e11a14
spi: ath79: remove spi-master setup and cleanup assignment

[ Upstream commit ffb597b2bd3cd78b9bfb68f536743cd46dbb2cc4 ]

This removes the assignment of setup and cleanup functions for the ath79
target. Assigning the setup-method will lead to 'setup_transfer' not
being assigned in spi_bitbang_init. Because of this, performing any
TX/RX operation will lead to a kernel oops.

Also drop the redundant cleanup assignment, as it's also assigned in
spi_bitbang_init.

Signed-off-by: David Bauer <mail@david-bauer.net>
Link: https://lore.kernel.org/r/20210303160837.165771-2-mail@david-bauer.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-ath79.c