rtc: rv3029: let regmap validate the register ranges
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 14 Dec 2019 22:10:08 +0000 (23:10 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 18 Dec 2019 09:37:49 +0000 (10:37 +0100)
commitc509e4344bc0e2505a635ee8ac948298c7f21127
tree4355c8b0ddcd2a1c56fd5e3df988ce601df70119
parent9b45ef977440f30a0d990fc6bf60081c78c453bd
rtc: rv3029: let regmap validate the register ranges

Instead of trying to validate the accessed registers in custom functions,
let regmap handle that. This allows to defines all the holes in the
register range and gives access to the regmap debugfs register dump.

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