mmc: core: Remove unnecessary validations for bus_ops callbacks
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Oct 2013 22:15:30 +0000 (23:15 +0100)
committerChris Ball <chris@printf.net>
Fri, 14 Feb 2014 03:58:23 +0000 (22:58 -0500)
commit5601aaf73e5c2f0aa5e3607fee7b7d3511edfea9
treeb470dc3ea16a426d72d9c7938a71daaf813b67b0
parent2501c9179dff2add6aadd3898cd729e94e777d3a
mmc: core: Remove unnecessary validations for bus_ops callbacks

Due to the removal of the Kconfig option MMC_UNSAFE_RESUME, several
validations of a present bus_ops callback became redundant. Let's
remove these.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/core/bus.c
drivers/mmc/core/core.c