]> git.baikalelectronics.ru Git - kernel.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)
commit95faa7d46387cfa31a9f245eb4762f0806311d34
treec0ec2b218e8840f333c215d3ad926c26eaaf40f0
parentb583c043912101c958d9a482fbf928020af5f710
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