clk: imx: pll14xx: Use FIELD_GET/FIELD_PREP
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 4 Mar 2022 12:52:51 +0000 (13:52 +0100)
committerAbel Vesa <abel.vesa@nxp.com>
Fri, 4 Mar 2022 15:06:30 +0000 (17:06 +0200)
commit58f4980ccbecf633df1fcb113e2a9f04842eccc6
tree8ea4ec3c3a364c750c6d615f68283b1a9b9d686b
parentd77461a616b659bd88dc153e3a86dba5bf78aa8a
clk: imx: pll14xx: Use FIELD_GET/FIELD_PREP

Linux has these marvelous FIELD_GET/FIELD_PREP macros for easy access
to bitfields in registers. Use them and remove the now unused *_SHIFT
defines.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Link: https://lore.kernel.org/r/20220304125256.2125023-4-s.hauer@pengutronix.de
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
drivers/clk/imx/clk-pll14xx.c