regmap: fix the offset of register error log
authorJeongtae Park <jeongtae.park@gmail.com>
Thu, 1 Jul 2021 14:26:30 +0000 (23:26 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 09:42:58 +0000 (11:42 +0200)
commitab32c83a4e85e01f559d0abbff6e42b304775233
treed2d7ffe1ca22c9e87e928c0f27d26cb254642a48
parentad87dbb60feddada998216737ce5844e8f87314d
regmap: fix the offset of register error log

[ Upstream commit 1852f5ed358147095297a09cc3c6f160208a676d ]

This patch fixes the offset of register error log
by using regmap_get_offset().

Signed-off-by: Jeongtae Park <jeongtae.park@gmail.com>
Link: https://lore.kernel.org/r/20210701142630.44936-1-jeongtae.park@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/base/regmap/regmap.c