]> git.openfabrics.org - ~emulex/infiniband.git/commit
OMAPFB: remove manager->device references
authorArchit Taneja <archit@ti.com>
Fri, 20 Jul 2012 12:56:56 +0000 (18:26 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Sep 2012 11:58:32 +0000 (14:58 +0300)
commit4249e61e0440f01d279fa21d121dbf069e6620fa
tree4744bd17c3b1aa5bdb352f912fb6145074883761
parentd629f03f748c46277c421ed5b892f0b39fd1fe47
OMAPFB: remove manager->device references

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

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/video/omap2/omapfb/omapfb-main.c
drivers/video/omap2/omapfb/omapfb.h