[media] adv7842: i2c dummy clients registration
authorMartin Bugge <marbugge@cisco.com>
Thu, 5 Dec 2013 15:14:45 +0000 (12:14 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 08:37:08 +0000 (06:37 -0200)
commitb82e2793476e7fd031ba9e3b0cad357d1534d1d1
tree5b36abaed2264c80a3fef4536a8c7449dcee566d
parent245b2b678c6fc65f0265c55f7a4fa0155ad6b235
[media] adv7842: i2c dummy clients registration

Clear i2c_clients ptr when unregistered.
Warn if configured i2c-addr is zero.

Signed-off-by: Martin Bugge <marbugge@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/adv7842.c