Re: [PATCH 3/4] video: fbdev: pxafb: handle errors from pxafb_init_fbinfo() correctly
From: Robert Jarzmik <robert.jarzmik@free.fr>
Date: 2018-06-25 22:02:56
From: Robert Jarzmik <robert.jarzmik@free.fr>
Date: 2018-06-25 22:02:56
Daniel Mack [off-list ref] writes:
pxafb_init_fbinfo() can not only report errors caused by failed allocations but also when the clock can't be found. To fix this, return an error pointer instead of NULL in case of errors, and up-chain the result. Signed-off-by: Daniel Mack <daniel@zonque.org>
Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr> Cheers. -- Robert