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/pinctrl | |
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/pinctrl')
-rw-r--r-- | drivers/pinctrl/pinctrl-tegra-xusb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-tegra-xusb.c b/drivers/pinctrl/pinctrl-tegra-xusb.c index e477280e62..c4d3bbe8d4 100644 --- a/drivers/pinctrl/pinctrl-tegra-xusb.c +++ b/drivers/pinctrl/pinctrl-tegra-xusb.c @@ -415,7 +415,7 @@ static int pinctrl_tegra_xusb_probe(struct device_d *dev) goto reset; } - phy = phy_create(dev, NULL, &pcie_phy_ops, NULL); + phy = phy_create(dev, NULL, &pcie_phy_ops); if (IS_ERR(phy)) { err = PTR_ERR(phy); goto unregister; @@ -424,7 +424,7 @@ static int pinctrl_tegra_xusb_probe(struct device_d *dev) padctl->phys[TEGRA_XUSB_PADCTL_PCIE] = phy; phy_set_drvdata(phy, padctl); - phy = phy_create(dev, NULL, &sata_phy_ops, NULL); + phy = phy_create(dev, NULL, &sata_phy_ops); if (IS_ERR(phy)) { err = PTR_ERR(phy); goto unregister; |