aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-ti-pipe3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/phy/phy-ti-pipe3.c')
-rw-r--r--drivers/phy/phy-ti-pipe3.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/phy/phy-ti-pipe3.c b/drivers/phy/phy-ti-pipe3.c
index b964aa967b46..ab1e22d9a1e8 100644
--- a/drivers/phy/phy-ti-pipe3.c
+++ b/drivers/phy/phy-ti-pipe3.c
@@ -299,10 +299,9 @@ static int ti_pipe3_probe(struct platform_device *pdev)
299 struct clk *clk; 299 struct clk *clk;
300 300
301 phy = devm_kzalloc(&pdev->dev, sizeof(*phy), GFP_KERNEL); 301 phy = devm_kzalloc(&pdev->dev, sizeof(*phy), GFP_KERNEL);
302 if (!phy) { 302 if (!phy)
303 dev_err(&pdev->dev, "unable to alloc mem for TI PIPE3 PHY\n");
304 return -ENOMEM; 303 return -ENOMEM;
305 } 304
306 phy->dev = &pdev->dev; 305 phy->dev = &pdev->dev;
307 306
308 if (!of_device_is_compatible(node, "ti,phy-pipe3-pcie")) { 307 if (!of_device_is_compatible(node, "ti,phy-pipe3-pcie")) {
@@ -519,7 +518,6 @@ static struct platform_driver ti_pipe3_driver = {
519 .remove = ti_pipe3_remove, 518 .remove = ti_pipe3_remove,
520 .driver = { 519 .driver = {
521 .name = "ti-pipe3", 520 .name = "ti-pipe3",
522 .owner = THIS_MODULE,
523 .pm = DEV_PM_OPS, 521 .pm = DEV_PM_OPS,
524 .of_match_table = of_match_ptr(ti_pipe3_id_table), 522 .of_match_table = of_match_ptr(ti_pipe3_id_table),
525 }, 523 },