On Thu, 2012-08-30 at 17:10 +0530, Archit Taneja wrote: > 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. Almost all the uses here seem to be getting the dssdev from an overlay. Would it make sense to implement get_device for an ovl? That would reduce all the ovl->manager ? ovl->manager->get_device(ovl->manager) : NULL; code to ovl->get_device(ovl). Tomi
Attachment:
signature.asc
Description: This is a digitally signed message part