OSDN Git Service

[media] media: lirc_zilog: use a dynamically allocated lirc_dev
authorDavid Härdeman <david@hardeman.nu>
Sun, 25 Jun 2017 12:32:31 +0000 (09:32 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 17:24:17 +0000 (14:24 -0300)
commit13f96555d6faa6dc57fb5faedf728447a3188230
tree4ad662433ad3b9456fc6637759a10cb67f939063
parentf08e52878e101f3794c432dcbaa2179d1a903ded
[media] media: lirc_zilog: use a dynamically allocated lirc_dev

lirc_zilog currently embeds a struct lirc_dev in its own struct IR,
but subsequent patches will make the lifetime of struct lirc_dev
dynamic (i.e.  it will be free():d once lirc_dev is sure there are
no users of the struct).

Therefore, change lirc_zilog to use a pointer to a dynamically
allocated struct lirc_dev.

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>
drivers/staging/media/lirc/lirc_zilog.c