summaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2010-05-13 20:02:03 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2010-07-21 17:39:06 (GMT)
commitf8df39f1810b02f877c1ba1eed8e0710019e3b48 (patch)
treec0830933fc0bac2279a38b3225da4206f3ae48ef /net/bluetooth
parent5ee283c063a236b19e4582c675a2d8d615d5809c (diff)
downloadlinux-fsl-qoriq-f8df39f1810b02f877c1ba1eed8e0710019e3b48.tar.xz
Bluetooth: Use kzalloc for drivers
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> Acked-by: Gustavo F. Padovan <padovan@profusion.mobi> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions