OMAP_VOUT: Remove manager->device references
authorArchit Taneja <archit@ti.com>
Fri, 20 Jul 2012 12:56:30 +0000 (18:26 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Sep 2012 11:58:32 +0000 (14:58 +0300)
commitd629f03f748c46277c421ed5b892f0b39fd1fe47
tree6d128f6192e0a581f675cb94d4a0ad746aedf26e
parent794bc4eefa10fbc80e6ad29de1bc42424efde608
OMAP_VOUT: 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 omap_dss_device pointer 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.

Cc: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Archit Taneja <archit@ti.com>
drivers/media/video/omap/omap_vout.c