diff options
author | Daniel Mack <daniel@zonque.org> | 2018-07-24 19:11:25 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-07-24 19:11:25 +0200 |
commit | a2f2058e3d295fbaa5f681c1651cb5a8df840966 (patch) | |
tree | d53a5b4daa696c01556511b6bfd833c2d2c385e0 /Documentation | |
parent | video: fbdev: pxafb: switch to devm_* API (diff) | |
download | linux-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