summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2018-07-24 19:11:25 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-07-24 19:11:25 +0200
commita2f2058e3d295fbaa5f681c1651cb5a8df840966 (patch)
treed53a5b4daa696c01556511b6bfd833c2d2c385e0 /Documentation
parentvideo: fbdev: pxafb: switch to devm_* API (diff)
downloadlinux-a2f2058e3d295fbaa5f681c1651cb5a8df840966.tar.xz
linux-a2f2058e3d295fbaa5f681c1651cb5a8df840966.zip
video: fbdev: pxafb: handle errors from pxafb_init_fbinfo() correctly
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> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions