commit | d84ca2217b0065ec0f27a7c34ed073ed6449e213 | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Sun Apr 25 21:39:19 2021 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Sat Jan 08 20:17:41 2022 +0100 |
tree | 7f522c3860b64e4fa0708537b2055e99585d221c | |
parent | e91aae8efc4eebd33bdebe067ab248c242cc0135 [diff] |
can: mcp251xfd: mcp251xfd_open(): make use of pm_runtime_resume_and_get() With patch | dd8088d5a896 PM: runtime: Add pm_runtime_resume_and_get to deal with usage counter the usual pm_runtime_get_sync() and pm_runtime_put_noidle() in-case-of-error dance is no longer needed. Convert the mcp251xfd driver to use this function. Link: https://lore.kernel.org/all/20220105154300.1258636-6-mkl@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>