commit | ef7b8aa8ca4acdd0541c622230de93bb3389ef41 | [log] [tgz] |
---|---|---|
author | Quentin Schulz <quentin.schulz@free-electrons.com> | Fri May 05 15:50:32 2017 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Thu May 18 10:32:48 2017 +0200 |
tree | 090439b51a3ba4098c3435726be16df52615ef08 | |
parent | 8a3f3f24a829c80d8d451e75e887912c3905dfd0 [diff] |
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: Quentin Schulz <quentin.schulz@free-electrons.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>