]> git.baikalelectronics.ru Git - kernel.git/commit
USB: isp1362: Use kzalloc for allocating only one thing
authorJulia Lawall <julia@diku.dk>
Sat, 19 Dec 2009 07:17:44 +0000 (08:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:25 +0000 (14:53 -0800)
commit3653f1aa1f8d5c9762e3cb321d614ea11526988d
tree54732c62d32042a93a5f39409a6cbb5b1f88c2ac
parentfb5c6216a3a3c5df82c0036fb7db304e542884a6
USB: isp1362: Use kzalloc for allocating only one thing

Use kzalloc rather than kcalloc(1,...)

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
@@

- kcalloc(1,
+ kzalloc(
          ...)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/isp1362-hcd.c