Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabio Estevam and committed by
Thierry Reding
ca7a97ad 2c80a492

-1
-1
drivers/video/backlight/pwm_bl.c
··· 241 241 242 242 pb = devm_kzalloc(&pdev->dev, sizeof(*pb), GFP_KERNEL); 243 243 if (!pb) { 244 - dev_err(&pdev->dev, "no memory for state\n"); 245 244 ret = -ENOMEM; 246 245 goto err_alloc; 247 246 }