diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-09-03 12:18:19 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-09-03 16:09:33 +0200 |
commit | affaab4c58d8e5f7c30ca2be351277cf72d2336f (patch) | |
tree | 64462c1107d7649bf05bf9e4328e3cedee2f7b9f /drivers/usb/gadget/s3c-hsudc.c | |
parent | usb: gadget: s3c-hsudc: Use devm_* functions (diff) | |
download | linux-affaab4c58d8e5f7c30ca2be351277cf72d2336f.tar.xz linux-affaab4c58d8e5f7c30ca2be351277cf72d2336f.zip |
usb: gadget: s3c-hsudc: Add missing braces around sizeof
Silences the following checkpatch warning:
WARNING: sizeof *hsreq should be sizeof(*hsreq)
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/s3c-hsudc.c')
-rw-r--r-- | drivers/usb/gadget/s3c-hsudc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/s3c-hsudc.c b/drivers/usb/gadget/s3c-hsudc.c index fe4a46197181..35cdc6a5a589 100644 --- a/drivers/usb/gadget/s3c-hsudc.c +++ b/drivers/usb/gadget/s3c-hsudc.c @@ -833,7 +833,7 @@ static struct usb_request *s3c_hsudc_alloc_request(struct usb_ep *_ep, { struct s3c_hsudc_req *hsreq; - hsreq = kzalloc(sizeof *hsreq, gfp_flags); + hsreq = kzalloc(sizeof(*hsreq), gfp_flags); if (!hsreq) return 0; |