phy: mediatek: tphy: remove macros to prepare bitfield value
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 20 Sep 2022 09:00:22 +0000 (17:00 +0800)
committerVinod Koul <vkoul@kernel.org>
Sat, 24 Sep 2022 06:27:49 +0000 (11:57 +0530)
commit6b5ef194611e581b7da2bf0f7d3ad3950b2aaba3
tree437a06735850cd499f83f7b45df248977366fcda
parent29c07477556eb68a64f0ff53235feb0bd1cf1f63
phy: mediatek: tphy: remove macros to prepare bitfield value

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

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20220920090038.15133-3-chunfeng.yun@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/mediatek/phy-mtk-tphy.c