drm/i2c: tda998x: check the CEC device creation
authorJean-Francois Moine <moinejf@free.fr>
Sat, 25 Jan 2014 17:14:43 +0000 (18:14 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 2 Feb 2014 16:44:45 +0000 (16:44 +0000)
commit6ae668cc19e8b18df28cd67b3448d9abd79284a4
tree17af2ebfd1d73678deb5aff8417531929aacb7cf
parent7288ca07b638db485abec5752bd6b1faed1c33ef
drm/i2c: tda998x: check the CEC device creation

This patch checks if the CEC device is well created at intialization
time.

Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c