summaryrefslogtreecommitdiff
path: root/rust/helpers/regulator.c
diff options
context:
space:
mode:
authorNicolas Frattaroli <nicolas.frattaroli@collabora.com>2025-08-25 10:28:26 +0200
committerYury Norov <yury.norov@gmail.com>2025-09-02 20:06:46 -0400
commit48d47732c29bf8002f41c275adacd63d033ef6d2 (patch)
tree70661f1bcd24f324d46adf25db53ad616712165d /rust/helpers/regulator.c
parentdcdcfd83b7b09f653dfddf89af206c6a9d4fbd62 (diff)
phy: rockchip-emmc: switch to FIELD_PREP_WM16 macro
The era of hand-rolled HIWORD_UPDATE macros is over, at least for those drivers that use constant masks. Replace the implementation of the rockchip eMMC PHY driver's HIWORD_UPDATE macro with hw_bitfield.h's FIELD_PREP_WM16. This makes the change more easily reviewable. Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
Diffstat (limited to 'rust/helpers/regulator.c')
0 files changed, 0 insertions, 0 deletions