diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-12-29 21:44:18 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-01-15 15:11:10 +0100 |
commit | 3c7b90cb145a0ed547126c1811af40c38f0cdc7c (patch) | |
tree | 0e31eadadbb2fa4a91b5c93fdbae565b3b36a7e2 /drivers/rtc/rtc-tps6586x.c | |
parent | rtc: at91rm9200: avoid time readout in at91_rtc_setalarm (diff) | |
download | linux-dev-3c7b90cb145a0ed547126c1811af40c38f0cdc7c.tar.xz linux-dev-3c7b90cb145a0ed547126c1811af40c38f0cdc7c.zip |
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>
Diffstat (limited to 'drivers/rtc/rtc-tps6586x.c')
0 files changed, 0 insertions, 0 deletions