commit | a33dd5171d141c378df498aba3fa3c9a573cacb6 | [log] [tgz] |
---|---|---|
author | Andi Shyti <andi@etezian.org> | Thu Jan 30 00:06:41 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Tue Feb 04 06:36:03 2014 -0200 |
tree | 5a53601adccf1c91734d1619fcf58887f7da94fa | |
parent | 62fd0d30e1fbd12d5a07ff722b2726bb8fa630c7 [diff] |
[media] cx24117: use a valid dev pointer for dev_err printout 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>