linux/drivers/staging/cptm1217
Joe Perches 78110bb8dc staging: Remove unnecessary OOM messages
alloc failures already get standardized OOM
messages and a dump_stack.

For the affected mallocs around these OOM messages:

Converted kzallocs with multiplies to kcalloc.
Converted kmallocs with multiplies to kmalloc_array.
Converted a kmalloc/strlen/strncpy to kstrdup.
Moved a spin_lock below a removed OOM message and
removed a now unnecessary spin_unlock.
Neatened alignment and whitespace.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-11 10:10:33 -08:00
..
Kconfig staging: clearpad_tm1217 depends on INPUT 2010-11-19 17:17:45 -08:00
Makefile Staging: add Synaptics TM1217 Touchscreen Controller driver 2010-11-09 15:19:50 -08:00
TODO Staging: add Synaptics TM1217 Touchscreen Controller driver 2010-11-09 15:19:50 -08:00
clearpad_tm1217.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
cp_tm1217.h staging/cptm1217: fix checkpatch warnings 2012-07-19 16:11:26 -07:00