diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-02-20 11:01:07 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-02-25 09:10:40 +0100 |
commit | fa920fa5717b7b7e29cfc8eeb78c5057d860a3e6 (patch) | |
tree | d09bd961400d8018d25270dd10b6dd06986fe681 /drivers/phy/usb-nop-xceiv.c | |
parent | 4695b7bbba2b19011fee0c34236234c7cefde323 (diff) | |
download | barebox-fa920fa5717b7b7e29cfc8eeb78c5057d860a3e6.tar.gz barebox-fa920fa5717b7b7e29cfc8eeb78c5057d860a3e6.tar.xz |
phy: remove unused init_data parameter
Linux has since migrated to a new lookup API that lacks the init_data
parameter. As it's unused in barebox, follow suit.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/phy/usb-nop-xceiv.c')
-rw-r--r-- | drivers/phy/usb-nop-xceiv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/usb-nop-xceiv.c b/drivers/phy/usb-nop-xceiv.c index b124e6c0c4..a9031fa7f8 100644 --- a/drivers/phy/usb-nop-xceiv.c +++ b/drivers/phy/usb-nop-xceiv.c @@ -107,7 +107,7 @@ static int nop_usbphy_probe(struct device_d *dev) /* FIXME: Add vbus-detect-gpio support */ nopphy->usb_phy.dev = dev; - nopphy->phy = phy_create(dev, NULL, &nop_phy_ops, NULL); + nopphy->phy = phy_create(dev, NULL, &nop_phy_ops); if (IS_ERR(nopphy->phy)) { ret = PTR_ERR(nopphy->phy); goto release_gpio; |