]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Convert mmc_driver to device_driver
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 6 Oct 2014 11:51:40 +0000 (13:51 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:33 +0000 (12:40 +0100)
commitdacff1d1e221c77b5875bc0f9638241377e3f0b7
tree8fb75914fa7c3bea075f659b1f40524317e47a0c
parent5187bf2010587a3270fd769163ea4b4c7aada8c5
mmc: core: Convert mmc_driver to device_driver

The struct mmc_driver adds an extra layer on top of the struct
device_driver. That would be fine, if there were a good reason, but
that's not the case.

Let's simplify code by converting to the common struct device_driver
instead and thus also removing superfluous overhead.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/block.c
drivers/mmc/card/mmc_test.c
drivers/mmc/core/bus.c
include/linux/mmc/card.h