[PATCH v2 0/2] staging: atomisp: memory allocation cleanups

From: Aishwarya Pant
Date: Sat Oct 14 2017 - 11:02:51 EST


Patch series performs minor code cleanups using coccinelle to simplify memory
allocation tests and remove redundant OOM log messages.

Changes in v2:
Rebase and re-send patches

Aishwarya Pant (2):
staging: atomisp2: cleanup null check on memory allocation
staging: atomisp: cleanup out of memory messages

drivers/staging/media/atomisp/i2c/ap1302.c | 4 +--
drivers/staging/media/atomisp/i2c/gc0310.c | 4 +--
drivers/staging/media/atomisp/i2c/gc2235.c | 4 +--
drivers/staging/media/atomisp/i2c/imx/imx.c | 4 +--
drivers/staging/media/atomisp/i2c/lm3554.c | 4 +--
drivers/staging/media/atomisp/i2c/mt9m114.c | 4 +--
drivers/staging/media/atomisp/i2c/ov2680.c | 4 +--
drivers/staging/media/atomisp/i2c/ov2722.c | 4 +--
drivers/staging/media/atomisp/i2c/ov5693/ov5693.c | 4 +--
drivers/staging/media/atomisp/i2c/ov8858.c | 6 +---
.../media/atomisp/pci/atomisp2/atomisp_fops.c | 4 +--
.../media/atomisp/pci/atomisp2/atomisp_ioctl.c | 9 ++----
.../media/atomisp/pci/atomisp2/css2400/sh_css.c | 36 +++++++++++-----------
.../atomisp/pci/atomisp2/css2400/sh_css_firmware.c | 6 ++--
.../pci/atomisp2/css2400/sh_css_param_shading.c | 4 +--
.../media/atomisp/pci/atomisp2/hmm/hmm_bo.c | 10 ++----
.../atomisp/pci/atomisp2/hmm/hmm_dynamic_pool.c | 6 +---
.../atomisp/pci/atomisp2/hmm/hmm_reserved_pool.c | 5 +--
.../media/atomisp/pci/atomisp2/hmm/hmm_vm.c | 4 +--
.../platform/intel-mid/atomisp_gmin_platform.c | 4 +--
20 files changed, 41 insertions(+), 89 deletions(-)

--
2.11.0