[PATCH 0/4] staging-greybus: Fine-tuning for four functions

From: SF Markus Elfring
Date: Fri Dec 09 2016 - 09:33:04 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 9 Dec 2016 15:25:35 +0100

A few update suggestions were taken into account
from static source code analysis.

Markus Elfring (4):
One function call less in gb_camera_configure_streams() after error detection
light: Use kcalloc() in two functions
Check return value of a kstrndup() call in gb_lights_light_config()
Use kcalloc() in gb_power_supplies_setup()

drivers/staging/greybus/camera.c | 16 +++++++++-------
drivers/staging/greybus/light.c | 12 ++++++++----
drivers/staging/greybus/power_supply.c | 7 +++----
3 files changed, 20 insertions(+), 15 deletions(-)

--
2.11.0