summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-12-01 13:04:03 -0200
committerThierry Reding <thierry.reding@gmail.com>2013-12-17 10:18:25 +0100
commitca7a97add4d4a7b0602b3bd1eff5c89da8636713 (patch)
tree19ab837f2797aeeec123a488fb8595d46b6f6779 /drivers/video
parent2c80a4923ab9f6daf2ecab3aba36a002cf93f1b6 (diff)
downloadop-kernel-dev-ca7a97add4d4a7b0602b3bd1eff5c89da8636713.zip
op-kernel-dev-ca7a97add4d4a7b0602b3bd1eff5c89da8636713.tar.gz
backlight: pwm_bl: Remove error message upon devm_kzalloc() failure
No need to have a specific OOM message, since there is generic MM out of memory message in place. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/pwm_bl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c
index fb80d68..b75201f 100644
--- a/drivers/video/backlight/pwm_bl.c
+++ b/drivers/video/backlight/pwm_bl.c
@@ -241,7 +241,6 @@ static int pwm_backlight_probe(struct platform_device *pdev)
pb = devm_kzalloc(&pdev->dev, sizeof(*pb), GFP_KERNEL);
if (!pb) {
- dev_err(&pdev->dev, "no memory for state\n");
ret = -ENOMEM;
goto err_alloc;
}
OpenPOWER on IntegriCloud