[media] cec: Add cec_get_drvdata()
authorJose Abreu <Jose.Abreu@synopsys.com>
Fri, 24 Mar 2017 16:47:52 +0000 (13:47 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 5 Apr 2017 18:17:58 +0000 (15:17 -0300)
commit0b0b97dcc79fe2b34d320805c4389d87980a0e51
tree117f607dd8abf984f68c3e2b38f016c24d273da7
parentacf0e531a48bdf805fec024dcc2735a61933a213
[media] cec: Add cec_get_drvdata()

Add a helper function to get driver private data from CEC
adapter. This helps the readability a little bit and allows
to change the 'priv' field name to something else without
needing to touch all drivers.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
include/media/cec.h