summaryrefslogtreecommitdiff
path: root/drivers/nvdimm
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-04-22 15:19:53 +0200
committerWolfram Sang <wsa@the-dreams.de>2016-04-27 19:03:11 +0200
commit70719350ca250a8397b74f416a45df3d1868a1d2 (patch)
tree63e51f88abe93bbaf9ef0226f4b76c994061f746 /drivers/nvdimm
parent9f4d6f164229d4221272186597d9393f654adbb9 (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>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions