]> git.karo-electronics.de Git - linux-beck.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)
commit6685ac62b2f08fcff77dc35c6b8bff1b74aaa408
tree8fb75914fa7c3bea075f659b1f40524317e47a0c
parent0967edc6ef5c3c181cabde3178ea9f33e5130e4a
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