phy: mediatek: mipi: mt8173: use FIELD_PREP to prepare bits field
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 20 Sep 2022 09:00:34 +0000 (17:00 +0800)
committerVinod Koul <vkoul@kernel.org>
Sat, 24 Sep 2022 06:27:50 +0000 (11:57 +0530)
commit993aa53ed076a987842be2943dba46b6099d8ec3
tree04444d5fccf0f9b7a87512a14c722bdac706ac49
parent7bd72714327d4783f82ccce12f611b415cbee0d5
phy: mediatek: mipi: 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-15-chunfeng.yun@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/mediatek/phy-mtk-mipi-dsi-mt8173.c