[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140410180906.GD15736@drone.musicnaut.iki.fi>
Date: Thu, 10 Apr 2014 21:09:06 +0300
From: Aaro Koskinen <aaro.koskinen@....fi>
To: Robert Baldyga <r.baldyga@...sung.com>
Cc: robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
rob@...dley.net, myungjoo.ham@...sung.com, cw00.choi@...sung.com,
dbaryshkov@...il.com, dwmw2@...radead.org, balbi@...com,
gregkh@...uxfoundation.org, grant.likely@...aro.org,
ldewangan@...dia.com, kishon@...com, gg@...mlogic.co.uk,
anton@...msg.org, jonghwa3.lee@...sung.com, rongjun.ying@....com,
linux@...ck-us.net, tony@...mide.com, devicetree@...r.kernel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
patches@...nsource.wolfsonmicro.com, linux-usb@...r.kernel.org,
linux-omap@...r.kernel.org
Subject: Re: [PATCH 05/13] extcon: extcon-class: improve extcon client API
Hi,
On Thu, Apr 10, 2014 at 03:16:43PM +0200, Robert Baldyga wrote:
> +struct extcon_cable *extcon_get_cable_by_name(struct device *dev,
> + const char *name)
> +{
> + return of_extcon_get_cable_by_name(dev->of_node, name);
> +}
> +EXPORT_SYMBOL_GPL(extcon_get_cable_by_name);
[...]
> @@ -96,17 +95,13 @@ static int omap_otg_probe(struct platform_device *pdev)
> {
> const struct omap_usb_config *config = pdev->dev.platform_data;
^^^^^^^^^^^^^
[...]
> - ret = extcon_register_interest(&otg_dev->id_dev, config->extcon,
> - "USB-HOST", &otg_dev->id_nb);
> + cable_id = extcon_get_cable_by_name(&pdev->dev, "USB-HOST");
NACK. OMAP1 is not using DT, so this driver would stop working
with this series.
A.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists