Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ee8ff30 authored by Sachin Kamat's avatar Sachin Kamat Committed by Felipe Balbi
Browse files

usb: phy-twl6030: Add missing braces



Silences the below warning:
WARNING: sizeof *twl should be sizeof(*twl)

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 7410f172
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;