mmc: core: fold mmc_set_bus_width calls into sdio_enable_4bit_bus.
authorNeilBrown <neilb@suse.de>
Tue, 24 Feb 2015 02:42:23 +0000 (13:42 +1100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Mar 2015 13:13:49 +0000 (14:13 +0100)
commit303dbedc3152b0a3828ea881b446c2e2a247662f
tree69f33168b407c3b595a79d2616af7feba3774592
parenta1cb1d1114d3258487321f822457f74ed897068c
mmc: core: fold mmc_set_bus_width calls into sdio_enable_4bit_bus.

Every call to sdio_enable_4bit_bus is followed (on success) by a call
to mmc_set_bus_width().

To simplify the code, include those calls directly in
sdio_enable_4bit_bus().

Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sdio.c