]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit4f3b8919793fa65a5f0f6ad4a80ab3293824cf23
tree4ad662433ad3b9456fc6637759a10cb67f939063
parent055fe9a8ed296cf80451546eed7c1446f64f825c
[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