video: fbdev: s3c-fb: return -ENOMEM on framebuffer_alloc() failure
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 28 Jun 2019 10:30:05 +0000 (12:30 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 28 Jun 2019 10:30:05 +0000 (12:30 +0200)
commit602ecfbc04562802bdf9fd443ce96b836b7ecc9e
treedacc0da8fc1876b4a257cb6e28c8ce5fb9310fc5
parentc2d3c8a424307af188d844005bc8dc7dc4a96bdf
video: fbdev: s3c-fb: return -ENOMEM on framebuffer_alloc() failure

Fix error code from -ENOENT to -ENOMEM.

Acked-by: Jingoo Han <jingoohan1@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/s3c-fb.c