aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/radio/si4713-i2c.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-04-08 06:31:30 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-14 19:52:56 -0300
commit55b2a312c29695520f813e61d668318169895ba7 (patch)
tree75ed8a62d98b0dc0e01048ade3e4f93de357c8c7 /drivers/media/radio/si4713-i2c.h
parenta58841d0dcb79aebc558a1b55d29995f62aa61a4 (diff)
downloadlinux-linaro-stable-55b2a312c29695520f813e61d668318169895ba7.tar.gz
[media] radio-si4713: use V4L2 core lock
Simplify locking by using the V4L2 core lock mechanism. This allows us to remove all locking from the i2c module. This will also simplify the upcoming conversion to the control framework. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Eduardo Valentin <edubezval@gmail.com> Tested-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio/si4713-i2c.h')
-rw-r--r--drivers/media/radio/si4713-i2c.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/radio/si4713-i2c.h b/drivers/media/radio/si4713-i2c.h
index c6dfa7fb101c..979828da9d27 100644
--- a/drivers/media/radio/si4713-i2c.h
+++ b/drivers/media/radio/si4713-i2c.h
@@ -220,7 +220,6 @@ struct si4713_device {
/* v4l2_subdev and i2c reference (v4l2_subdev priv data) */
struct v4l2_subdev sd;
/* private data structures */
- struct mutex mutex;
struct completion work;
struct rds_info rds_info;
struct limiter_info limiter_info;