Skip to content
Commit ef7b8aa8 authored by Quentin Schulz's avatar Quentin Schulz Committed by Marc Kleine-Budde
Browse files

can: m_can: factorize clock gating and ungating



This creates a function to ungate M_CAN clocks and another to gate the
same clocks, then swaps all gating/ungating code with their respective
function.

Signed-off-by: default avatarQuentin Schulz <quentin.schulz@free-electrons.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 8a3f3f24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment