power: act8846_pmic: fix number of registers
authorJohn Keeping <john@metanate.com>
Thu, 19 Jan 2023 12:56:12 +0000 (12:56 +0000)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 31 Jan 2023 13:05:03 +0000 (22:05 +0900)
commit519fa7aa252789677939f0bd991bf26a4fe469ec
treea5d7e9230694c19af37cc19699eceaa5b638e7bc
parent30db474704405be823259851cbb76fa05366c8af
power: act8846_pmic: fix number of registers

The highest register on ACT8846 is 0xf5, so set the number of registers
to 0xf6, ensuring that the pmic read/write commands are able to access
all of the supported registers (and many that are not valid, since the
register space is quite sparse).

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
include/power/act8846_pmic.h