linux_dsm_epyc7002/drivers/media/cec
Logan Gunthorpe 857313e510 media: utilize new cdev_device_add helper function
Replace the open coded registration of the cdev and dev with the
new device_add_cdev() helper. The helper replaces a common pattern by
taking the proper reference against the parent device and adding both
the cdev and the device.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-21 06:44:33 +01:00
..
cec-adap.c [media] cec: initiator should be the same as the destination for, poll 2017-02-13 14:34:11 -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: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
cec-priv.h [media] cec: move the CEC framework out of staging and to media 2016-11-16 15:40:20 -02:00
Makefile [media] cec: move the CEC framework out of staging and to media 2016-11-16 15:40:20 -02:00