spi: designware_spi: Disable and free clock when remove driver
authorLey Foon Tan <ley.foon.tan@intel.com>
Wed, 19 Sep 2018 08:27:19 +0000 (16:27 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 24 Oct 2019 19:18:32 +0000 (00:48 +0530)
commite7e05fcb3edb95584e7294099dbf0d28f0f87322
tree93a7816515cbbc7b6efdfff87f10491c51bba77b
parent2a2174d3da33b9e71a26ecc5d40f1369401275fd
spi: designware_spi: Disable and free clock when remove driver

Disable and free clock when remove driver.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/designware_spi.c