i2c: hix5hd2: add missed clk_disable_unprepare in remove
authorChuhong Yuan <hslester96@gmail.com>
Mon, 4 Nov 2019 15:00:48 +0000 (23:00 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 22 Mar 2020 16:20:11 +0000 (17:20 +0100)
commite1b9f99ff8c40bba6e59de9ad4a659447b1e4112
tree6a632f603d85cd349f9f10951faadc3dcce2f137
parentfb33c6510d5595144d585aa194d377cf74d31911
i2c: hix5hd2: add missed clk_disable_unprepare in remove

The driver forgets to disable and unprepare clk when remove.
Add a call to clk_disable_unprepare to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
drivers/i2c/busses/i2c-hix5hd2.c