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

Configure Feed

Select the types of activity you want to include in your feed.

Input: synaptics-rmi4 - 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/b88413456c970a97319fa7e505768bf82966541b.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
1245633c a78acec5

+1 -1
+1 -1
drivers/input/rmi4/rmi_spi.c
··· 375 375 struct rmi_device_platform_data *spi_pdata = spi->dev.platform_data; 376 376 int error; 377 377 378 - if (spi->master->flags & SPI_CONTROLLER_HALF_DUPLEX) 378 + if (spi->controller->flags & SPI_CONTROLLER_HALF_DUPLEX) 379 379 return -EINVAL; 380 380 381 381 rmi_spi = devm_kzalloc(&spi->dev, sizeof(struct rmi_spi_xport),