From: Sachin Kamat Date: Sat, 21 Dec 2013 09:50:09 +0000 (+0530) Subject: usb: phy-twl6030: Add missing braces X-Git-Tag: next-20140106~16^2~51^2~17 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2ee8ff30849def5ac0d942439bf533826ad8e4ba;p=karo-tx-linux.git usb: phy-twl6030: Add missing braces Silences the below warning: WARNING: sizeof *twl should be sizeof(*twl) Signed-off-by: Sachin Kamat Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/phy/phy-twl6030-usb.c b/drivers/usb/phy/phy-twl6030-usb.c index 30e8a61552d4..d2682ba58211 100644 --- a/drivers/usb/phy/phy-twl6030-usb.c +++ b/drivers/usb/phy/phy-twl6030-usb.c @@ -327,7 +327,7 @@ static int twl6030_usb_probe(struct platform_device *pdev) struct device *dev = &pdev->dev; struct twl4030_usb_data *pdata = dev_get_platdata(dev); - twl = devm_kzalloc(dev, sizeof *twl, GFP_KERNEL); + twl = devm_kzalloc(dev, sizeof(*twl), GFP_KERNEL); if (!twl) return -ENOMEM;