summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2010-05-13 22:00:40 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 13:21:46 -0700
commit1ac93a30398774e084c12e25b3a74285ee4dba90 (patch)
tree4b1866b68550d336a1e5edbf3990108088cc11d2 /drivers/usb/host
parentb2c573790381720e8b0aca1f392b4063f84cfcb6 (diff)
USB: io_edgeport: Use kzalloc
Use kzalloc rather than the combination of kmalloc and memset. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x,size,flags; statement S; @@ -x = kmalloc(size,flags); +x = kzalloc(size,flags); if (x == NULL) S -memset(x, 0, size); // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions