hvc_console: Use kzalloc() instead of kmalloc() + memset()
authorMilton Miller <miltonm@bga.com>
Thu, 8 Jan 2009 02:14:28 +0000 (02:14 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 13 Jan 2009 03:48:02 +0000 (14:48 +1100)
commit2da7582f7cf5ef5e6adcf42537b6b8be06312152
treef09865ae71dc2442e5ba65f44fff843ad92b9b85
parentda9dc13289fa58dced12f2baff51dfb87c339ba3
hvc_console: Use kzalloc() instead of kmalloc() + memset()

Replace kmalloc() + memset()  with kzalloc().

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/char/hvc_console.c