[PATCH v2 0/2] use read_poll_timeout macro to simplify code

From: Dejin Zheng
Date: Mon Apr 20 2020 - 09:46:54 EST


Simplify implementation of regmap_read_poll_timeout() macro and
regmap_field_read_poll_timeout by read_poll_timeout() macro, they have
many similar codes.

v1 -> v2:
- modify the commit comments by Markus's suggestion .

Dejin Zheng (2):
regmap: Simplify implementation of the regmap_read_poll_timeout()
macro
regmap: Simplify implementation of the
regmap_field_read_poll_timeout() macro

include/linux/regmap.h | 48 ++++++++----------------------------------
1 file changed, 9 insertions(+), 39 deletions(-)

--
2.25.0