[PATCH] matroxfb: Use kzalloc
authorJean Delvare <khali@linux-fr.org>
Mon, 12 Feb 2007 08:55:07 +0000 (00:55 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:42 +0000 (09:48 -0800)
commit2fdbe5cf27aff997e348c5f01b424ad734bd1d25
tree9e3e826c47a4d55ea1d3f53eadfda83121d95349
parentc30660ead2dd6ced47ac6ad4c099fb9305263ffb
[PATCH] matroxfb: Use kzalloc

Use kzalloc instead of kmalloc+memset, twice.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Petr Vandrovec <vandrove@vc.cvut.cz>
Acked-By: James Simmons <jsimmons@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/matrox/i2c-matroxfb.c
drivers/video/matrox/matroxfb_crtc2.c