[PATCH v2 01/15] drm/bridge: tc358767: Simplify tc_poll_timeout()

2019-03-24 Thread Andrey Smirnov
Implementation of tc_poll_timeout() is almost a 100% copy-and-paste of the code for regmap_read_poll_timeout(). Replace copied code with a call to the original. While at it change tc_poll_timeout to accept "struct tc_data *" instead of "struct regmap *" for brevity. No functional change intended.

Re: [PATCH v2 01/15] drm/bridge: tc358767: Simplify tc_poll_timeout()

2019-03-22 Thread Tomi Valkeinen
On 22/03/2019 05:28, Andrey Smirnov wrote: > Implementation of tc_poll_timeout() is almost a 100% copy-and-paste of > the code for regmap_read_poll_timeout(). Replace copied code with a > call to the original. While at it change tc_poll_timeout to accept > "struct tc_data *" instead of "struct