]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commitb4cc580bb6fcd9f4f86483d566601984febc1d31
treedc566c809d5aaea50b1b4cc13e543bc968f16032
parenteddbc3abc5bf11bdfc92ef84fd97ec4d379b7278
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