diff options
author | Serge Semin <fancer.lancer@gmail.com> | 2024-04-24 18:06:44 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-05-03 05:09:24 +0300 |
commit | 33c85972d1e4952a8c93ec260be2e6ff4470e619 (patch) | |
tree | 9d61c441dbd8032f83011e4dbd3d529dd1cb39c2 /drivers/spi/spi-dw-mmio.c | |
parent | e164be7e1e9373bd10e6b79924b0a6374752775e (diff) | |
download | linux-33c85972d1e4952a8c93ec260be2e6ff4470e619.tar.xz |
spi: dw: Convert dw_spi::num_cs to u32
Number of native chip-select lines is either retrieved from the "num-cs"
DT-property or auto-detected in the generic DW APB/AHB SSI probe method.
In the former case the property is supposed to be of the "u32" size.
Convert the field type to being u32 then to be able to drop the temporary
variable afterwards.
Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20240424150657.9678-4-fancer.lancer@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw-mmio.c')
0 files changed, 0 insertions, 0 deletions