]> git.dujemihanovic.xyz Git - u-boot.git/commit
phy: phy-mtk-tphy: remove macros to prepare bitfield value
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Fri, 17 Feb 2023 09:04:08 +0000 (17:04 +0800)
committerMarek Vasut <marex@denx.de>
Thu, 2 Mar 2023 21:43:43 +0000 (22:43 +0100)
commit5241fc8dbf2680a237ab80b6d77963f57713ba44
treebd4e14370aac29c5004c8783af7c4ca405e4add4
parente61eaee91c50019e1901d527836011aaafa88c35
phy: phy-mtk-tphy: remove macros to prepare bitfield value

Prefer to make use of FIELD_PREP() macro to prepare bitfield value,
then no need local macros anymore.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
drivers/phy/phy-mtk-tphy.c