Re: [PATCH 6/7] drm/stm: ltdc: Remove unnecessary platform_get_resource() error check

2017-12-19 Thread Benjamin Gaignard
2017-12-19 15:15 GMT+01:00 Philippe CORNU : > Hi Fabio, > > > On 12/18/2017 02:02 PM, Fabio Estevam wrote: >> From: Fabio Estevam >> >> devm_ioremap_resource() already checks if the resource is NULL, so >> remove the unnecessary platform_get_resource() error check. >> >> Cc: Philippe Cornu >> Sig

Re: [PATCH 6/7] drm/stm: ltdc: Remove unnecessary platform_get_resource() error check

2017-12-19 Thread Philippe CORNU
Hi Fabio, On 12/18/2017 02:02 PM, Fabio Estevam wrote: > From: Fabio Estevam > > devm_ioremap_resource() already checks if the resource is NULL, so > remove the unnecessary platform_get_resource() error check. > > Cc: Philippe Cornu > Signed-off-by: Fabio Estevam > --- > drivers/gpu/drm/st

[PATCH 6/7] drm/stm: ltdc: Remove unnecessary platform_get_resource() error check

2017-12-18 Thread Fabio Estevam
From: Fabio Estevam devm_ioremap_resource() already checks if the resource is NULL, so remove the unnecessary platform_get_resource() error check. Cc: Philippe Cornu Signed-off-by: Fabio Estevam --- drivers/gpu/drm/stm/ltdc.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gp