Browse Source

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>
Sachin Kamat 11 years ago
parent
commit
2ee8ff3084
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/usb/phy/phy-twl6030-usb.c

+ 1 - 1
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;