mfd: sm501: Delete error message for a failed memory allocation in two places
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 15 Jan 2018 14:40:46 +0000 (15:40 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 May 2018 08:21:48 +0000 (09:21 +0100)
commit24303ee7210efb49467693c32d56fbf5d64a840d
tree3429921c64396cb67679fd7d6b97f90223f7fb17
parentd001117474616057ff715efd702e282db570a902
mfd: sm501: Delete error message for a failed memory allocation in two places

Omit an extra message for a memory allocation failure in these functions.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/sm501.c