rtc: at91rm9200: use FIELD_PREP/FIELD_GET
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 29 Dec 2019 20:44:18 +0000 (21:44 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 15 Jan 2020 14:11:10 +0000 (15:11 +0100)
commit3c7b90cb145a0ed547126c1811af40c38f0cdc7c
tree0e31eadadbb2fa4a91b5c93fdbae565b3b36a7e2
parent565205d5adc196dcb34789c36e705d3220f02892
rtc: at91rm9200: use FIELD_PREP/FIELD_GET

Use FIELD_PREP and FIELD_GET instead of hardcoding already defined values.

Link: https://lore.kernel.org/r/20191229204421.337612-6-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-at91rm9200.c