On 21/12/2017 at 09:43:24 -0200, Fabio Estevam wrote: > devm_ioremap_resource() already checks if the resource is NULL, so > remove the unnecessary platform_get_resource() error check. > > Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxx> > --- > drivers/rtc/rtc-mxc_v2.c | 3 --- > 1 file changed, 3 deletions(-) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com