diff options
author | Axel Lin <axel.lin@ingics.com> | 2019-04-07 17:58:17 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-08 10:08:53 +0300 |
commit | 5d785141c8b30d252ebab897429022da379bdb0f (patch) | |
tree | e29c88bb99fcb1477d77d81622b6f1921e19daf7 /tools | |
parent | a18656ea39855519495c9b996205b5fe9cf86123 (diff) | |
download | linux-5d785141c8b30d252ebab897429022da379bdb0f.tar.xz |
spi: fsl-lpspi: Clean up fsl_lpspi_probe
Use is_slave local variable to avoid calling of_property_read_bool() twice.
Remove redudant assignment for controller->bus_num, set it once is enough.
Move setting controller->bits_per_word_mask close to the code init other
controller fields.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions