linux/drivers/staging/iio
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
..
accel staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
adc staging:iio: Use spi_sync_transfer() 2013-02-09 11:10:43 +00:00
addac staging: iio: remove use of __devexit_p 2012-11-21 15:02:23 -08:00
cdc staging: iio: remove use of __devexit_p 2012-11-21 15:02:23 -08:00
Documentation iio: Documentation change for inkern interface. 2012-09-15 10:02:16 +01:00
frequency staging:iio: Use spi_sync_transfer() 2013-02-09 11:10:43 +00:00
gyro staging:iio: Move adxrs450 driver out of staging 2013-02-02 09:27:56 +00:00
impedance-analyzer staging:iio:impedance-analyzer switch from sw_ring to kfifo. 2013-01-26 10:07:52 +00:00
light iio:light:tsl2563 move out of staging 2013-01-27 17:37:24 +00:00
magnetometer staging: iio: remove use of __devexit_p 2012-11-21 15:02:23 -08:00
meter staging:iio: Use spi_sync_transfer() 2013-02-09 11:10:43 +00:00
resolver staging:iio: Use spi_sync_transfer() 2013-02-09 11:10:43 +00:00
trigger staging: iio: remove use of __devexit_p 2012-11-21 15:02:23 -08:00
iio_dummy_evgen.c staging:iio: Don't compare boolean values with true/false 2012-10-19 16:19:45 +01:00
iio_dummy_evgen.h staging:iio:dummy Add event support + fake event generator 2011-10-17 15:36:30 -07:00
iio_hwmon.c iio: Update iio_channel_get_all and iio_channel_get_all_cb API 2013-02-02 11:58:46 +00:00
iio_simple_dummy_buffer.c iio: Fix some comments 2012-12-27 11:21:28 +00:00
iio_simple_dummy_events.c staging: iio: Fix typo in iio 2012-05-08 16:04:12 -07:00
iio_simple_dummy.c iio: Fix some comments 2012-12-27 11:21:28 +00:00
iio_simple_dummy.h staging:iio:dummy: Fix potential NULL pointer dereference 2012-09-22 10:55:08 +01:00
Kconfig staging:iio: drop sw_ring buffer implementation. 2013-01-26 10:07:52 +00:00
Makefile staging:iio: drop sw_ring buffer implementation. 2013-01-26 10:07:52 +00:00
ring_hw.h staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00
TODO staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00