Searched hist:"77 c544d243f3b0d1ae3487ebb170c07c79734fe7" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/spi/ |
H A D | spi-pxa2xx.c | diff 77c544d243f3b0d1ae3487ebb170c07c79734fe7 Mon Oct 21 05:36:25 CDT 2019 Andy Shevchenko <andriy.shevchenko@linux.intel.com> spi: pxa2xx: Drop extra check of platform_get_resource() returned value
The devm_ioremap_resource() has already a check for resource pointer being NULL. No need to double check this.
Drop extra check of platform_get_resource() returned value.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20191021103625.4250-2-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
|