drm: omapdrm: fb: Simplify objects lookup when creating framebuffer
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sat, 26 Mar 2016 17:51:57 +0000 (19:51 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 19 Dec 2016 09:24:54 +0000 (11:24 +0200)
commita39c94e8138f4708b92245a7021ad4d40376360f
treef427d0cdace887685e13460c10ba0b5ad8c1735b
parentc9028b39597fbdcdac96641e12cc656a27c137c1
drm: omapdrm: fb: Simplify objects lookup when creating framebuffer

Merge the single-user objects_lookup inline function into its caller,
allowing reuse of the error code path.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_drv.h
drivers/gpu/drm/omapdrm/omap_fb.c