diff options
author | David Härdeman <david@hardeman.nu> | 2017-06-25 15:32:36 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2017-10-04 20:53:07 +0300 |
commit | b15e39379fe8700fe0ec849a5c5ee2b44cd16381 (patch) | |
tree | ef7d8a0a058a048db765dd87af0bad28727dd39a /drivers/media/rc/igorplugusb.c | |
parent | 13f96555d6faa6dc57fb5faedf728447a3188230 (diff) | |
download | linux-b15e39379fe8700fe0ec849a5c5ee2b44cd16381.tar.xz |
[media] media: lirc_dev: merge struct irctl into struct lirc_dev
The use of two separate structs (lirc_dev aka lirc_driver and irctl) makes
it much harder to follow the proper lifetime of the various structs and
necessitates hacks such as keeping a copy of struct lirc_dev inside
struct irctl.
Merging the two structs means that lirc_dev can properly manage the
lifetime of the resulting struct and simplifies the code at the same time.
[mchehab@s-opensource.com: fix merge conflict]
Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/rc/igorplugusb.c')
0 files changed, 0 insertions, 0 deletions