diff options
| author | Gabor Juhos <[email protected]> | 2025-05-15 18:58:06 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-05-16 11:18:21 +0000 |
| commit | 76ebfa371f0ff8ff8a42a9415f61432d6c48fa55 (patch) | |
| tree | 3aacb8b0d418f7dddc74161860d353ceecf69636 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | spi: spi-qpic-snand: use CW_PER_PAGE_MASK bitmask (diff) | |
| download | kernel-76ebfa371f0ff8ff8a42a9415f61432d6c48fa55.tar.gz kernel-76ebfa371f0ff8ff8a42a9415f61432d6c48fa55.zip | |
spi: spi-qpic-snand: extend FIELD_PREP() macro usage
Large part of the code uses the FIELD_PREP() macro already to construct
values to be written to hardware registers. Change the code to use also
the macro for more registers of which the corresponding bitmasks are
defined already.
This makes the code more readable. It also syncs the affected
codes with their counterparts in the 'qcom_nandc' driver, so it
makes it easier to spot the differences between the two
implementations.
No functional changes intended.
Signed-off-by: Gabor Juhos <[email protected]>
Reviewed-by: Md Sadre Alam <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
