]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-xenon: kill xenon_clean_phy()
authorJisheng Zhang <jszhang@marvell.com>
Tue, 16 May 2017 06:17:20 +0000 (14:17 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 19 May 2017 06:58:21 +0000 (08:58 +0200)
commitf70ed03f7e769b3e8360198200fcdd0d6835f227
tree783684aedf6450e49cdaf0d9b544dc8cc3a750de
parent6a0fa58cdd92da9a8e6fa4e621cabd91974091b3
mmc: sdhci-xenon: kill xenon_clean_phy()

Currently, the xenon_clean_phy() is only used for freeing phy_params.
The phy_params is allocated by devm_kzalloc(), there's no need to free
is explicitly.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Hu Ziji <huziji@marvell.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
drivers/mmc/host/sdhci-xenon-phy.c
drivers/mmc/host/sdhci-xenon.c
drivers/mmc/host/sdhci-xenon.h