[media] cx24117: use a valid dev pointer for dev_err printout
authorAndi Shyti <andi@etezian.org>
Thu, 30 Jan 2014 03:06:41 +0000 (00:06 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Feb 2014 08:36:03 +0000 (06:36 -0200)
Don't use '&state->priv->i2c->dev' reference to device because
state is still 'NULL'. Use '&i2c->dev' instead.

This bug has been reported by scan.coverity.com

Signed-off-by: Andi Shyti <andi@etezian.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Cc: vger@stable.kernel.org
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

No differences found