diff options
| author | Marc Kleine-Budde <mkl@pengutronix.de> | 2026-03-19 17:55:36 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-07 11:54:25 +0100 |
| commit | 732b903ea3e2e95e11990a698df8e18537aeef19 (patch) | |
| tree | 70a4a0c9dff942765a26c972a42890266b36932c /tools/perf/scripts/python | |
| parent | 8292eded59980eb2be64a22819885ab808f03440 (diff) | |
spi: spi-fsl-lpspi: fsl_lpspi_set_watermark(): use FIELD_PREP() to encode FIFO Control register
Instead of open coding mask and shift operations and to increase
readability use FIELD_PREP() to encode the FIFO Control register.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://patch.msgid.link/20260319-spi-fsl-lpspi-cleanups-v2-2-02b56c5d44a8@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
