]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pxa2xx-pci: Drop redundant NULL check in ->probe()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 25 Feb 2022 17:23:42 +0000 (19:23 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 28 Feb 2022 12:10:19 +0000 (12:10 +0000)
commit3fd64cecc16b70b65981fa2a6e39acb82a9a27bc
tree03c5e61e859688253936aa4e4453205b666e2f03
parent6e33999664bef999d0a942b29bd432e756d29537
spi: pxa2xx-pci: Drop redundant NULL check in ->probe()

Since all platforms are using ->setup() function, drop unneeded check.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220225172350.69797-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx-pci.c