diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-12-21 04:50:09 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-12-23 11:13:34 -0500 |
commit | 2ee8ff30849def5ac0d942439bf533826ad8e4ba (patch) | |
tree | c25d2a2b7168d52df84d662dd45a2a3143f4a8a1 /drivers/usb/phy/phy-twl6030-usb.c | |
parent | 7410f172aeceedd8b3bca6f461d798fc160598e9 (diff) |
usb: phy-twl6030: Add missing braces
Silences the below warning:
WARNING: sizeof *twl should be sizeof(*twl)
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/phy-twl6030-usb.c')
-rw-r--r-- | drivers/usb/phy/phy-twl6030-usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
327 | struct device *dev = &pdev->dev; | 327 | struct device *dev = &pdev->dev; |
328 | struct twl4030_usb_data *pdata = dev_get_platdata(dev); | 328 | struct twl4030_usb_data *pdata = dev_get_platdata(dev); |
329 | 329 | ||
330 | twl = devm_kzalloc(dev, sizeof *twl, GFP_KERNEL); | 330 | twl = devm_kzalloc(dev, sizeof(*twl), GFP_KERNEL); |
331 | if (!twl) | 331 | if (!twl) |
332 | return -ENOMEM; | 332 | return -ENOMEM; |
333 | 333 | ||