aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/phy-twl4030-usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/phy/phy-twl4030-usb.c b/drivers/phy/phy-twl4030-usb.c
index c3ace1db8136..6c7cec7d0a1d 100644
--- a/drivers/phy/phy-twl4030-usb.c
+++ b/drivers/phy/phy-twl4030-usb.c
@@ -661,7 +661,7 @@ static int twl4030_usb_probe(struct platform_device *pdev)
661 struct phy_provider *phy_provider; 661 struct phy_provider *phy_provider;
662 struct phy_init_data *init_data = NULL; 662 struct phy_init_data *init_data = NULL;
663 663
664 twl = devm_kzalloc(&pdev->dev, sizeof *twl, GFP_KERNEL); 664 twl = devm_kzalloc(&pdev->dev, sizeof(*twl), GFP_KERNEL);
665 if (!twl) 665 if (!twl)
666 return -ENOMEM; 666 return -ENOMEM;
667 667
@@ -676,7 +676,7 @@ static int twl4030_usb_probe(struct platform_device *pdev)
676 return -EINVAL; 676 return -EINVAL;
677 } 677 }
678 678
679 otg = devm_kzalloc(&pdev->dev, sizeof *otg, GFP_KERNEL); 679 otg = devm_kzalloc(&pdev->dev, sizeof(*otg), GFP_KERNEL);
680 if (!otg) 680 if (!otg)
681 return -ENOMEM; 681 return -ENOMEM;
682 682