diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-12-01 13:04:03 -0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2013-12-17 10:18:25 +0100 |
commit | ca7a97add4d4a7b0602b3bd1eff5c89da8636713 (patch) | |
tree | 19ab837f2797aeeec123a488fb8595d46b6f6779 /drivers/video/backlight | |
parent | 2c80a4923ab9f6daf2ecab3aba36a002cf93f1b6 (diff) | |
download | linux-stable-ca7a97add4d4a7b0602b3bd1eff5c89da8636713.tar.gz linux-stable-ca7a97add4d4a7b0602b3bd1eff5c89da8636713.tar.bz2 linux-stable-ca7a97add4d4a7b0602b3bd1eff5c89da8636713.zip |
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/backlight')
-rw-r--r-- | drivers/video/backlight/pwm_bl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c index fb80d68f4d33..b75201ff46f6 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; } |