summaryrefslogtreecommitdiff
path: root/drivers/media/rc/nuvoton-cir.h
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2016-10-25 22:23:49 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-18 22:07:07 +0300
commit73d4576d8ff4e418175c9b6e3059561ee0e46210 (patch)
tree9bb4ffbf13118b08751b456872efbf14de39f60b /drivers/media/rc/nuvoton-cir.h
parentf7ceec4fa0f40a1e21b738fa5a4997f99f62d1d1 (diff)
downloadlinux-73d4576d8ff4e418175c9b6e3059561ee0e46210.tar.xz
[media] media: rc: nuvoton: rename spinlock nvt_lock
Spinlock nvt_lock is a member of struct nvt_dev and there's no need to prefix it with nvt_. So remove this prefix. [mchehab@s-opensource.org: change the prefix also at the open function, as the patch removing it were not applied (yet?)] Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/nuvoton-cir.h')
-rw-r--r--drivers/media/rc/nuvoton-cir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/nuvoton-cir.h b/drivers/media/rc/nuvoton-cir.h
index a8569b66c214..c41c5765e1d2 100644
--- a/drivers/media/rc/nuvoton-cir.h
+++ b/drivers/media/rc/nuvoton-cir.h
@@ -80,7 +80,7 @@ struct nvt_chip {
struct nvt_dev {
struct rc_dev *rdev;
- spinlock_t nvt_lock;
+ spinlock_t lock;
/* for rx */
u8 buf[RX_BUF_LEN];