MIPS: CPS: Use bitfield helpers
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 22 Nov 2021 15:53:58 +0000 (16:53 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 29 Nov 2021 11:43:06 +0000 (12:43 +0100)
commit4e1fc0a48037ae0cb197922c0acf28424abbb41d
tree817483b34dd20250ed622df3c91060f14af6c2fb
parent9d348f6b92801eca5671e75e1d10b7d34738681a
MIPS: CPS: Use bitfield helpers

Use the FIELD_GET() helper, instead of open-coding the same operation.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/mips-cps.h