fbdev: n411: check return value
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 23 Feb 2016 12:44:17 +0000 (18:14 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 26 Feb 2016 10:16:58 +0000 (12:16 +0200)
commit7fdfc702d301a127d875e5608342a249201fdb4a
tree46ea50c5e8bad93e8113915a7e57f173f5daac4b
parentf059c4b220b821f8ed7b1b12387cce86373f666e
fbdev: n411: check return value

We were not checking the return value of platform_device_add_data()
which can fail.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/n411.c