diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-02-19 18:14:29 -0800 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2019-03-19 16:47:09 +0800 |
commit | 8217a7a2c76259ff1f2623b60c3bcede052cdb49 (patch) | |
tree | b9f9344326c0d1e17b1111f39fc773427e66ad3c /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) |
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions