Re: [PATCH] phy: twl4030-usb: make driver DT only

From: Nicolae Rosia
Date: Tue Nov 15 2016 - 08:26:34 EST


Hi,

On Tue, Nov 15, 2016 at 3:20 PM, Kishon Vijay Abraham I <kishon@xxxxxx> wrote:
> Are you sure about this? I still see a bunch of board files in mach-omap2 using
> twl4030.
>
> Thanks
> Kishon

You are right, on v4.9 it is still used in arch/arm/mach-omap2/twl-common.c.
I forgot to mention that I'm targeting v4.10 with this. On Tony's
for-next [0], there are no users:
git grep twl4030_usb_data
drivers/phy/phy-twl4030-usb.c: struct twl4030_usb_data *pdata =
dev_get_platdata(&pdev->dev);
drivers/usb/phy/phy-twl6030-usb.c: struct twl4030_usb_data *pdata
= dev_get_platdata(dev);
include/linux/i2c/twl.h:struct twl4030_usb_data {
include/linux/i2c/twl.h: struct twl4030_usb_data *usb;

Thanks,
Nicolae

[0] https://git.kernel.org/cgit/linux/kernel/git/tmlind/linux-omap.git/log/?h=for-next