diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-04-22 16:19:53 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-04-27 20:03:11 +0300 |
commit | 70719350ca250a8397b74f416a45df3d1868a1d2 (patch) | |
tree | 63e51f88abe93bbaf9ef0226f4b76c994061f746 /drivers/i2c/algos/i2c-algo-pcf.c | |
parent | 9f4d6f164229d4221272186597d9393f654adbb9 (diff) | |
download | linux-70719350ca250a8397b74f416a45df3d1868a1d2.tar.xz |
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>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-pcf.c')
0 files changed, 0 insertions, 0 deletions