]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: sdhci-pxav3: Remove checks for mandatory host clock
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tue, 21 Oct 2014 09:22:37 +0000 (11:22 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:31 +0000 (12:40 +0100)
commit20d5a70344e526f51efe50861be10f6d743b7706
treec0ec2b218e8840f333c215d3ad926c26eaaf40f0
parentff8878fd64c0e578d979816a675c8ecb937888bd
mmc: sdhci-pxav3: Remove checks for mandatory host clock

NULL-checking a struct clk it not only wrong but also not required as
for PXAv3 driver the corresponding clock is mandatory. Remove the
checks from sdhci_pxav3_runtime_{suspend,resume}.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pxav3.c