fbdev/omap: sysfs files can't disappear before the device is gone
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 28 May 2019 09:02:43 +0000 (11:02 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Jun 2019 18:28:16 +0000 (20:28 +0200)
commit1e16eaebe2ea777a19b13cd1916992b544874d42
treedf396100cde565dad9b054b31dfab74ea9773f54
parent0fe66f327c464943a969ac3ad5f7a07a7cd4674e
fbdev/omap: sysfs files can't disappear before the device is gone

Which means lock_fb_info can never fail. Remove the error handling.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190528090304.9388-13-daniel.vetter@ffwll.ch
drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c