mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mmc: pxamci: remove pxa-mmc, gpio-power from devicetree bindings
Devicetree-enabled boards should use proper regulators to control the power of cards, not GPIOs, so let's remove this property. The regulator properties are supported by the MMC core and are described in the generic MMC document: Documentation/devicetree/bindings/mmc/mmc.txt Note that devicetree support for PXA platforms hasn't fully landed yet, so this binding does not have any users at this point. Signed-off-by: Daniel Mack <[email protected]> Acked-by: Robert Jarzmik <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
This commit is contained in:
parent
fa3a511546
commit
f37216de6e
2 changed files with 1 additions and 4 deletions
|
|
@ -607,9 +607,6 @@ static int pxamci_of_init(struct platform_device *pdev,
|
|||
return -ENOMEM;
|
||||
|
||||
/* pxa-mmc specific */
|
||||
pdata->gpio_power =
|
||||
of_get_named_gpio(np, "pxa-mmc,gpio-power", 0);
|
||||
|
||||
if (of_property_read_u32(np, "pxa-mmc,detect-delay-ms", &tmp) == 0)
|
||||
pdata->detect_delay_ms = tmp;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue