[media] media: i2c: initialize scalar variables
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 4 May 2017 00:13:18 +0000 (21:13 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Jun 2017 11:13:15 +0000 (08:13 -0300)
commite1082d28721081858a51f6c0148a3c7603d9e65e
tree8f58f66ac1d059d13d157ae6b6f3f702bda21740
parent834ebbc8f3a062f18131ff7ad7ddf27dc947e4c2
[media] media: i2c: initialize scalar variables

Initialize scalar variables _pid_ and _ver_ to avoid a possible misbehavior.

Addresses-Coverity-ID: 1324239
Addresses-Coverity-ID: 1324240

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ov2659.c