diff options
author | Andy Shevchenko <[email protected]> | 2024-04-03 20:06:35 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-04-15 20:00:33 +0900 |
commit | df3431fd379dcc3b231bd109a55948c27474478d (patch) | |
tree | b14f794a863345d5c50ddac70890bc5bcfa3e94b /lib/test_fortify/write_overflow-memcpy.c | |
parent | 770e3da3fe7ee7ffca745b7ac300ce39fe40f465 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions