]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: ab2100-otp: Remove pointless 'out of memory' error message
authorLee Jones <lee.jones@linaro.org>
Wed, 28 Oct 2015 09:08:22 +0000 (09:08 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 14 Jan 2016 08:43:53 +0000 (08:43 +0000)
commit4e28ad06b79b704a08ef1166636bb9567436f5f6
tree02feeb383faa7e8f10d2c7e06443674c6acb13c3
parentd4fd608b7bea797fd1f512c8260723a830fbc45f
mfd: ab2100-otp: Remove pointless 'out of memory' error message

WARNING: Possible unnecessary 'out of memory' message
+       if (!otp) {
+               dev_err(&pdev->dev, "could not allocate AB3100 OTP device\n");

total: 0 errors, 1 warnings, 250 lines checked

Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ab3100-otp.c