mmc: sdhci-pltfm: Do not use parent as the host's device
authorPawel Moll <pawel.moll@arm.com>
Tue, 12 Aug 2014 10:37:52 +0000 (11:37 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:58:58 +0000 (13:58 +0200)
commit45c19e2a812f9f98c0ad65c8d4a5648b6edcd0f8
tree4f56865ffbffd1d94cf2d89c433bf82edd6d7eed
parentca6429d4952398570a3963bd4b5842b519087df8
mmc: sdhci-pltfm: Do not use parent as the host's device

The code selecting a device for the sdhci host has been
continuously tweaked (4b711cb13843f5082e82970dd1e8031383134a65
"mmc: sdhci-pltfm: Add structure for host-specific data" and
a4d2177f00a5252d825236c5124bc1e9918bdb41 "mmc: sdhci-pltfm: dt
device does not pass parent to sdhci_alloc_host" while there
does not seem to be any reason to use platform device's parent
in the first place.

The comment saying "Some PCI-based MFD need the parent here"
seem to refer to Timberdale FPGA driver (the only MFD driver
registering SDHCI cell, drivers/mfd/timberdale.c) but again,
the only situation when parent device matter is runtime PM,
which is not implemented for Timberdale.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pltfm.c
This page took 0.039781 seconds and 5 git commands to generate.