linux_old1/drivers/media/cec
Hans Verkuil f51e80804f [media] cec: pass parent device in register(), not allocate()
The cec_allocate_adapter function doesn't need the parent device, only the
cec_register_adapter function needs it.

Drop the cec_devnode parent field, since devnode.dev.parent can be used
instead.

This change makes the framework consistent with other frameworks where the
parent device is not used until the device is registered.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-11-29 12:07:17 -02:00
..
Makefile
cec-adap.c [media] cec: ignore messages that we initiated 2016-11-22 05:43:07 -02:00
cec-api.c [media] cec: pass parent device in register(), not allocate() 2016-11-29 12:07:17 -02:00
cec-core.c [media] cec: pass parent device in register(), not allocate() 2016-11-29 12:07:17 -02:00
cec-priv.h