regmap: Simplify implementation of the regmap_read_poll_timeout() macro
authorDejin Zheng <zhengdejin5@gmail.com>
Mon, 20 Apr 2020 13:46:46 +0000 (21:46 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 20 Apr 2020 14:47:31 +0000 (15:47 +0100)
commite44ab4e14d6f4c448ae555132090c1a116b19e5c
treedfd25ca4d35115b5b7857989fe967f6f02a46f87
parent3ada1b176e6b91c0a807e02274437ff0c01d155a
regmap: Simplify implementation of the regmap_read_poll_timeout() macro

Simplify the implementation of the macro regmap_read_poll_timeout()
by using the macro read_poll_timeout().

Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Link: https://lore.kernel.org/r/20200420134647.9121-2-zhengdejin5@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/regmap.h