rtc: ds3232: Add regmap max_register definition.
authorPhil Reid <preid@electromag.com.au>
Fri, 17 Feb 2017 01:44:57 +0000 (09:44 +0800)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 21 Feb 2017 20:34:00 +0000 (21:34 +0100)
commit082edf0ab1e83fe42d98ea7b6c1a64a896efce70
treea05067d41a8bccd054dd8062ed1265215cbc3700
parentca4b0a6de8a8ed9834942a5ba0c6a7cd80877320
rtc: ds3232: Add regmap max_register definition.

Add the max_register  to the regmap_config definition. This allows
dumping of the device's registers via the regmap debugfs interface.

Signed-off-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-ds3232.c