commit | 70719350ca250a8397b74f416a45df3d1868a1d2 | [log] [tgz] |
---|---|---|
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | Fri Apr 22 15:19:53 2016 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Wed Apr 27 19:03:11 2016 +0200 |
tree | 63e51f88abe93bbaf9ef0226f4b76c994061f746 | |
parent | 9f4d6f164229d4221272186597d9393f654adbb9 [diff] |
i2c: mv64xxx: use clk_{prepare_enable,disable_unprepare} Instead of separately calling clk_prepare()/clk_enable(), use clk_prepare_enable(), and instead of calling clk_disable()/clk_unprepare(), use clk_disable_unprepare(). Those handy shortcuts have been introduced specifically to simplify the numerous call sites were both functions were called in sequence. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>