]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: slot-gpio: Use the parent device while allocating data
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 18 Dec 2014 14:44:33 +0000 (15:44 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:16 +0000 (09:56 +0100)
commit0e748a92a385fd8f5715f56305045d394f1447c9
treedc566c809d5aaea50b1b4cc13e543bc968f16032
parent1fef9d5c706dff1aadf773ec8ec5889c26be0291
mmc: slot-gpio: Use the parent device while allocating data

We had a mix of using the class device and the parent device while
allocating data through the devm_* managed functions.

Let's be more consistent and always use the parent device.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/slot-gpio.c