diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-04-03 20:06:35 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-15 14:00:33 +0300 |
commit | df3431fd379dcc3b231bd109a55948c27474478d (patch) | |
tree | b14f794a863345d5c50ddac70890bc5bcfa3e94b /drivers/dma/qcom | |
parent | 770e3da3fe7ee7ffca745b7ac300ce39fe40f465 (diff) | |
download | linux-df3431fd379dcc3b231bd109a55948c27474478d.tar.xz |
spi: pxa2xx: Move number of CS pins validation out of condition
There is no need to allocate chip_data and then validate number of
CS pins as it will have the same effect. Hence move number of CS pins
validation out of condition in setup().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240403171550.1074644-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/dma/qcom')
0 files changed, 0 insertions, 0 deletions