]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit413aa1e80624b8e5a22dc873f0690035a88bed6c
tree4355c8b0ddcd2a1c56fd5e3df988ce601df70119
parentae094dbbb233ead8e1d4686e3a7db06514ce4419
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