Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sachin Kamat and committed by
Felipe Balbi
2ee8ff30 7410f172

+1 -1
+1 -1
drivers/usb/phy/phy-twl6030-usb.c
··· 327 327 struct device *dev = &pdev->dev; 328 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 331 if (!twl) 332 332 return -ENOMEM; 333 333