diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-03-13 19:33:49 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-03-16 21:07:49 +0100 |
commit | 7da13023655d4625b72b09dd65f780804c7cc700 (patch) | |
tree | 63f9fddbbc886e7eaee7eb32ea3e9481f7a8ed6e /.gitignore | |
parent | i2c: cros-ec-tunnel: Mark ACPI and OF related data as maybe unused (diff) | |
download | linux-7da13023655d4625b72b09dd65f780804c7cc700.tar.xz linux-7da13023655d4625b72b09dd65f780804c7cc700.zip |
i2c: imx: Simplify using devm_clk_get_enabled()
devm_clk_get_enabled() returns the clk already (prepared and) enabled
and the automatically called cleanup cares for disabling (and
unpreparing). So simplify .probe() and .remove() accordingly.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions