On Tue, 17 Dec 2013, Laszlo Papp wrote: > The original author provided a random return value check which is > redundant and seemingly floating. This patch not only relocates > the check so it is more clearly associated with the invokation of > mfd_add_devices(), but provides a store for the error value. We > also print a meaningful message on error before returning. > > Signed-off-by: Laszlo Papp <[email protected]> > --- > drivers/mfd/max8997.c | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-)
Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

