spi: stm32-ospi: Use FIELD_MODIFY()

Use FIELD_MODIFY() to remove open-coded bit manipulation.
No functional change intended.

Signed-off-by: Hans Zhang <18255117159@163.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://patch.msgid.link/20260430155456.36998-8-18255117159@163.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Hans Zhang 2026-04-30 23:54:53 +08:00 • committed by Mark Brown
commit 21ee6902a5
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0