[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: NAndi Shyti <andi@etezian.org> Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org> Cc: vger@stable.kernel.org Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
Showing
想要评论请 注册 或 登录