diff options
| author | Marc Kleine-Budde <[email protected]> | 2020-12-12 18:55:16 +0100 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2020-12-14 14:24:11 +0100 |
| commit | b8d6255548ff9a94f1fed44b01da9602861cf84a (patch) | |
| tree | 01cf7564fca24e6f6f082facf59f383cdd5a1213 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 78e19a292681c97f7e14e8feae482d6285f795cd (diff) | |
can: m_can: m_can_clk_start(): 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 m_can driver to use this function.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Sean Nyekjaer <[email protected]>
Reviewed-by: Dan Murphy <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions