OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7410f17
)
usb: phy-twl6030: Add missing braces
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sat, 21 Dec 2013 09:50:09 +0000
(15:20 +0530)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 23 Dec 2013 16:13:34 +0000
(10:13 -0600)
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>
drivers/usb/phy/phy-twl6030-usb.c
patch
|
blob
|
history
diff --git
a/drivers/usb/phy/phy-twl6030-usb.c
b/drivers/usb/phy/phy-twl6030-usb.c
index
30e8a61
..
d2682ba
100644
(file)
--- 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;