]> www.infradead.org Git - users/jedix/linux-maple.git/commit
spi: pxa2xx: Remove superflous check for Intel Atom SoCs
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 30 May 2024 15:10:04 +0000 (18:10 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 3 Jun 2024 15:00:01 +0000 (16:00 +0100)
commit75bfdccaecf96189318b29100b880c416d89ed46
treead97b5cdbace62f522adb339dc8f9d733113d0ec
parent560fb06df2fd250004a1cac079717dbe7f863ff2
spi: pxa2xx: Remove superflous check for Intel Atom SoCs

pxa2xx_spi_fw_translate_cs() checks for the ACPI companion device
presence along with the SSP type. But the SSP type is uniquely
determines the case. Hence remove the superflous check.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://msgid.link/r/20240530151117.1130792-9-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c