video: fbdev: intelfb: return -ENOMEM on framebuffer_alloc() failure
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 28 Jun 2019 10:30:06 +0000 (12:30 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 28 Jun 2019 10:30:06 +0000 (12:30 +0200)
commit5f0e6ce18e65c463c52d00997397967ea809688b
tree266cac58596736bd220497f39bebb0565d514958
parent602ecfbc04562802bdf9fd443ce96b836b7ecc9e
video: fbdev: intelfb: return -ENOMEM on framebuffer_alloc() failure

Fix error code from -ENODEV to -ENOMEM.

Cc: Maik Broemme <mbroemme@libmpq.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/intelfb/intelfbdrv.c