Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: ab-eoz9: set regmap max_register

Set regmap's max_register property to allow users to dump registers
using debufgs.

Signed-off-by: Liam Beguin <lvb@xiphos.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210408024028.3526564-2-liambeguin@gmail.com

authored by

Liam Beguin and committed by
Alexandre Belloni
f1d30476 03531606

+1
+1
drivers/rtc/rtc-ab-eoz9.c
··· 264 264 static const struct regmap_config abeoz9_rtc_regmap_config = { 265 265 .reg_bits = 8, 266 266 .val_bits = 8, 267 + .max_register = 0x3f, 267 268 }; 268 269 269 270 #if IS_REACHABLE(CONFIG_HWMON)