diff options
| author | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
| commit | 1ac731c529cd4d6adbce134754b51ff7d822b145 (patch) | |
| tree | 143ab3f35ca5f3b69f583c84e6964b17139c2ec1 /drivers/spi/spi-ar934x.c | |
| parent | 07b4c950f27bef0362dc6ad7ee713aab61d58149 (diff) | |
| parent | 54116d442e001e1b6bd482122043b1870998a1f3 (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 6.6 merge window.
Diffstat (limited to 'drivers/spi/spi-ar934x.c')
| -rw-r--r-- | drivers/spi/spi-ar934x.c | 8 | 
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/spi/spi-ar934x.c b/drivers/spi/spi-ar934x.c index 4a6ecaa0a9c9..9dcada8c4cb9 100644 --- a/drivers/spi/spi-ar934x.c +++ b/drivers/spi/spi-ar934x.c @@ -125,7 +125,7 @@ static int ar934x_spi_transfer_one_message(struct spi_controller *ctlr,  				iowrite32(reg, sp->base + AR934X_SPI_DATAOUT);  			} -			reg = AR934X_SPI_SHIFT_VAL(spi->chip_select, term, +			reg = AR934X_SPI_SHIFT_VAL(spi_get_chipselect(spi, 0), term,  						   trx_cur * 8);  			iowrite32(reg, sp->base + AR934X_SPI_REG_SHIFT_CTRL);  			stat = readl_poll_timeout( @@ -220,7 +220,7 @@ err_clk_disable:  	return ret;  } -static int ar934x_spi_remove(struct platform_device *pdev) +static void ar934x_spi_remove(struct platform_device *pdev)  {  	struct spi_controller *ctlr;  	struct ar934x_spi *sp; @@ -230,8 +230,6 @@ static int ar934x_spi_remove(struct platform_device *pdev)  	spi_unregister_controller(ctlr);  	clk_disable_unprepare(sp->clk); - -	return 0;  }  static struct platform_driver ar934x_spi_driver = { @@ -240,7 +238,7 @@ static struct platform_driver ar934x_spi_driver = {  		.of_match_table = ar934x_spi_match,  	},  	.probe = ar934x_spi_probe, -	.remove = ar934x_spi_remove, +	.remove_new = ar934x_spi_remove,  };  module_platform_driver(ar934x_spi_driver);  |