* [PATCH] backlight: pwm_bl: Remove error message upon devm_kzalloc() failure
@ 2013-12-01 15:04 Fabio Estevam
2013-12-17 9:34 ` Thierry Reding
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2013-12-01 15:04 UTC (permalink / raw)
To: thierry.reding; +Cc: jg1.han, linux-pwm, Fabio Estevam
From: Fabio Estevam <fabio.estevam@freescale.com>
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>
---
drivers/video/backlight/pwm_bl.c | 1 -
1 file changed, 1 deletion(-)
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;
}
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] backlight: pwm_bl: Remove error message upon devm_kzalloc() failure
2013-12-01 15:04 [PATCH] backlight: pwm_bl: Remove error message upon devm_kzalloc() failure Fabio Estevam
@ 2013-12-17 9:34 ` Thierry Reding
0 siblings, 0 replies; 2+ messages in thread
From: Thierry Reding @ 2013-12-17 9:34 UTC (permalink / raw)
To: Fabio Estevam; +Cc: jg1.han, linux-pwm, Fabio Estevam
[-- Attachment #1: Type: text/plain, Size: 406 bytes --]
On Sun, Dec 01, 2013 at 01:04:03PM -0200, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> 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>
> ---
> drivers/video/backlight/pwm_bl.c | 1 -
> 1 file changed, 1 deletion(-)
Applied, thanks.
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-17 9:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-01 15:04 [PATCH] backlight: pwm_bl: Remove error message upon devm_kzalloc() failure Fabio Estevam
2013-12-17 9:34 ` Thierry Reding
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).