]> git.openfabrics.org - ~emulex/infiniband.git/commit
OMAPDRM: Remove manager->device references
authorArchit Taneja <archit@ti.com>
Fri, 20 Jul 2012 13:00:50 +0000 (18:30 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Sep 2012 11:58:32 +0000 (14:58 +0300)
commit23e2aa644f39fbc8121f49dd50ce85590cc4e4b7
tree300476edd9a3f81a70d86c8091f3bc4921d0824a
parent4249e61e0440f01d279fa21d121dbf069e6620fa
OMAPDRM: Remove manager->device references

With the introduction of output entities, managers will now connect to outputs.
Use the helper op for managers named get_device. This will abstract away the
information on how to get the device from an overlay manager.

Using the helper function will reduce the number of pointer dereferences a user
of OMAPDSS needs to do and reduce risk of a NULL dereference.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/staging/omapdrm/omap_drv.c