regmap: Simplify implementation of the regmap_field_read_poll_timeout() macro
authorDejin Zheng <zhengdejin5@gmail.com>
Mon, 20 Apr 2020 13:46:47 +0000 (21:46 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 20 Apr 2020 14:47:32 +0000 (15:47 +0100)
commit148c01d176237115d9c2805f6d29c0b6a72fbd10
tree53e25c8a8d1502e6726d22911ee213d62d8bc417
parente44ab4e14d6f4c448ae555132090c1a116b19e5c
regmap: Simplify implementation of the regmap_field_read_poll_timeout() macro

Simplify the implementation of the macro regmap_field_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-3-zhengdejin5@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/regmap.h