Staging: asus_oled: Add NULL test for kmalloc
authorPeter Huewe <peterhuewe@gmx.de>
Thu, 7 Jan 2010 18:57:36 +0000 (19:57 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:40 +0000 (16:42 -0800)
commit0df28be06e08b9a53c26a53974bf3afea4928b3e
treeb6339716fab0cfbe78ee6670a5641d50ee3b6f75
parentc424d46fdc79df201707fe815aa8480751918025
Staging: asus_oled: Add NULL test for kmalloc

This patch adds a NULL test to check wether kmalloc was successful or
not.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/asus_oled/asus_oled.c