commit | 0b0b97dcc79fe2b34d320805c4389d87980a0e51 | [log] [tgz] |
---|---|---|
author | Jose Abreu <Jose.Abreu@synopsys.com> | Fri Mar 24 13:47:52 2017 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Wed Apr 05 15:17:58 2017 -0300 |
tree | 117f607dd8abf984f68c3e2b38f016c24d273da7 | |
parent | acf0e531a48bdf805fec024dcc2735a61933a213 [diff] |
[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>