regmap: debugfs: Jump to the next readable register
authorLucas Tanure <tanureal@opensource.cirrus.com>
Tue, 19 Mar 2019 09:41:33 +0000 (09:41 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 20 Mar 2019 17:13:31 +0000 (17:13 +0000)
commitcc6a8d69ba624f0ad7a09ed095b7bd4b86476489
treed650b1afd0d6b612747955002d3d45596dfe7f61
parenta1c67d65df0b5a3858741a144cd43f8e62c5c175
regmap: debugfs: Jump to the next readable register

Improve the speed of the loop jumping to the next
available register

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Tested-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-debugfs.c