diff options
| author | 2026-03-19 17:55:42 +0100 | |
|---|---|---|
| committer | 2026-04-07 11:54:30 +0100 | |
| commit | e59fe5e0c418da4cf0432faa0fc9062d56bd98b1 (patch) | |
| tree | 3402bcc5ecabb613d63116583fa19679c66b0eae /include/uapi/linux/can/ssh:/git@git.zx2c4.com | |
| parent | spi: spi-fsl-lpspi: fsl_lpspi_setup_transfer(): remove useless spi_transfer NULL pointer check (diff) | |
spi: spi-fsl-lpspi: fsl_lpspi_can_dma(): directly assign return value to fsl_lpspi->usedma
The function fsl_lpspi_can_dma() returns a bool.
Simplify the code, remove the if/else and assign the return value of
fsl_lpspi_can_dma() directly to fsl_lpspi->usedma.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://patch.msgid.link/20260319-spi-fsl-lpspi-cleanups-v2-8-02b56c5d44a8@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/uapi/linux/can/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
