diff options
| author | David Härdeman <[email protected]> | 2017-06-25 09:31:40 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-10-04 13:52:12 -0300 |
| commit | 615cd3fe6cccb950b46728120009a1805cce908e (patch) | |
| tree | dacdfa3104b3b7dfeae4a4d821ed01a5b477b2ac /tools/perf/scripts/python/bin | |
| parent | 0510d81081498eae2a8bf9d116cc03492fab5894 (diff) | |
[media] media: lirc_dev: make better use of file->private_data
By making better use of file->private_data in lirc_dev we can avoid
digging around in the irctls[] array, thereby simplifying the code.
External drivers need to use lirc_get_pdata() instead of mucking around
in file->private_data.
The newly introduced lirc_init_pdata() function isn't very elegant, but
it's a stopgap measure which can be removed once lirc_zilog is converted
to rc-core.
Signed-off-by: David Härdeman <[email protected]>
Signed-off-by: Sean Young <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions