i2c: mv64xxx: Remove useless test before clk_disable_unprepare
commita9e94bb80ea6d53745eb5ca86597696735565fb3
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Tue, 16 Jan 2018 16:35:38 +0000 (16 17:35 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 26 Jan 2018 17:49:45 +0000 (26 18:49 +0100)
treebd8d7e76ea84a4a5ca062d991d9f9a9e806d2b65
parent4be49b5d652e8b81ba8d019727ebd8cafd7ab4ac
i2c: mv64xxx: Remove useless test before clk_disable_unprepare

clk_disable_unprepare() already checks that the clock pointer is valid.
No need to test it before calling it.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-mv64xxx.c