Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: pxspad - follow renaming of SPI "master" to "controller"

In commit 8caab75fd2c2 ("spi: Generalize SPI "master" to "controller"")
some functions and struct members were renamed. To not break all drivers
compatibility macros were provided.

To be able to remove these compatibility macros push the renaming into
this driver.

Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/820fa151077dc192391d546aec35328680803f9f.1707324794.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Uwe Kleine-König and committed by
Mark Brown
a78acec5 2780e7b7

+2 -2
+2 -2
drivers/input/joystick/psxpad-spi.c
··· 342 342 spi->mode = SPI_MODE_3; 343 343 spi->bits_per_word = 8; 344 344 /* (PlayStation 1/2 joypad might be possible works 250kHz/500kHz) */ 345 - spi->master->min_speed_hz = 125000; 346 - spi->master->max_speed_hz = 125000; 345 + spi->controller->min_speed_hz = 125000; 346 + spi->controller->max_speed_hz = 125000; 347 347 spi_setup(spi); 348 348 349 349 /* pad settings */