phy: mediatek: hdmi: mt8173: use FIELD_PREP to prepare bits field
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 20 Sep 2022 09:00:30 +0000 (17:00 +0800)
committerVinod Koul <vkoul@kernel.org>
Sat, 24 Sep 2022 06:27:50 +0000 (11:57 +0530)
commit309b4fec539cee6fe7a52938fbfdb6a893237cbd
treec7f9b474e65f1ff16a71762fc19795c880e1bf26
parenta8a78274c6b4ce7af1616ff29551e1808ffa43bb
phy: mediatek: hdmi: mt8173: use FIELD_PREP to prepare bits field

Use FIELD_PREP() macro to prepare bits field value, then no need define
macros of bits offset.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220920090038.15133-11-chunfeng.yun@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/mediatek/phy-mtk-hdmi-mt8173.c