mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
spi: geni-qcom: Follow renaming of SPI "master" to "controller"
In commit8caab75fd2
("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. This was already tried before in commit8726bdcef6
("spi: geni-qcom: switch to use modern name"), that's why this change is so small. 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/895f9a42691dcea037b30dcce5e61be0b44e3a25.1707324794.git.u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
1747fbdedb
commit
14cea92338
@ -647,7 +647,7 @@ static void spi_geni_release_dma_chan(struct spi_geni_master *mas)
|
|||||||
|
|
||||||
static int spi_geni_init(struct spi_geni_master *mas)
|
static int spi_geni_init(struct spi_geni_master *mas)
|
||||||
{
|
{
|
||||||
struct spi_master *spi = dev_get_drvdata(mas->dev);
|
struct spi_controller *spi = dev_get_drvdata(mas->dev);
|
||||||
struct geni_se *se = &mas->se;
|
struct geni_se *se = &mas->se;
|
||||||
unsigned int proto, major, minor, ver;
|
unsigned int proto, major, minor, ver;
|
||||||
u32 spi_tx_cfg, fifo_disable;
|
u32 spi_tx_cfg, fifo_disable;
|
||||||
|
Loading…
Reference in New Issue
Block a user