[media] media: i2c: remove duplicate checks for EPERM in dbg_g/s_register
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Tue, 14 May 2013 04:45:14 +0000 (01:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 27 May 2013 12:34:06 +0000 (09:34 -0300)
commit7e89bd9f242930371f89f3d8c32eaf42ea1c74b1
tree79c5b37e75aa14ca5e30e54eb26703f3640358ce
parent39cc029f9c74a9917560c51f1b5dd2ed8c4ede8a
[media] media: i2c: remove duplicate checks for EPERM in dbg_g/s_register

This patch removes check for EPERM in dbg_g/s_register of subdevice
drivers as this check is already performed by core.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 files changed:
drivers/media/i2c/ad9389b.c
drivers/media/i2c/adv7183.c
drivers/media/i2c/adv7604.c
drivers/media/i2c/cs5345.c
drivers/media/i2c/cx25840/cx25840-core.c
drivers/media/i2c/m52790.c
drivers/media/i2c/mt9v011.c
drivers/media/i2c/ov7670.c
drivers/media/i2c/saa7115.c
drivers/media/i2c/saa7127.c
drivers/media/i2c/saa717x.c
drivers/media/i2c/ths7303.c
drivers/media/i2c/tvp5150.c
drivers/media/i2c/tvp7002.c
drivers/media/i2c/upd64031a.c
drivers/media/i2c/upd64083.c
drivers/media/i2c/vs6624.c