diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-02-20 05:14:29 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2019-03-19 11:47:09 +0300 |
commit | 8217a7a2c76259ff1f2623b60c3bcede052cdb49 (patch) | |
tree | b9f9344326c0d1e17b1111f39fc773427e66ad3c /drivers/vhost/vhost.h | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) | |
download | linux-8217a7a2c76259ff1f2623b60c3bcede052cdb49.tar.xz |
soc: imx: gpcv2: Make use of regmap_read_poll_timeout()
Replace explicit polling loop with a call to
regmap_read_poll_timeout() to avoid code repetition. Also fix
misspelled "failed" while at it.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Chris Healy <cphealy@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/vhost/vhost.h')
0 files changed, 0 insertions, 0 deletions