diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-16 06:59:49 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-18 08:44:51 -0200 |
commit | 7b61ba8ff838dbee422d428fbd882ab83db4b2d9 (patch) | |
tree | caa863cac4a8e249bdaa8f4016e76d52ea467306 /drivers/media/pci/cx88/cx88-reg.h | |
parent | 65bc2fe86e667077b38a63ce6cb40677be09bc4f (diff) | |
download | linux-stable-7b61ba8ff838dbee422d428fbd882ab83db4b2d9.tar.gz linux-stable-7b61ba8ff838dbee422d428fbd882ab83db4b2d9.tar.bz2 linux-stable-7b61ba8ff838dbee422d428fbd882ab83db4b2d9.zip |
[media] cx88: make checkpatch happier
This driver is old, and have lots of checkpatch violations.
As we're touching a lot on this driver due to the printk
conversions, let's run checkpatch --fix on it, in order to
solve some of those issues.
Also, do a few manual adjustments:
- remove the FSF address and use the usual coding style
for the initial comments;
- use WARN_ON() instead of BUG_ON();
- remove an unused typedef;
- break a few long lines.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/cx88/cx88-reg.h')
-rw-r--r-- | drivers/media/pci/cx88/cx88-reg.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/pci/cx88/cx88-reg.h b/drivers/media/pci/cx88/cx88-reg.h index 2ec52d1cdea0..88ed8a2e4ee1 100644 --- a/drivers/media/pci/cx88/cx88-reg.h +++ b/drivers/media/pci/cx88/cx88-reg.h @@ -576,7 +576,7 @@ #define RISC_CNT_INC 0x00010000 #define RISC_CNT_RSVR 0x00020000 #define RISC_CNT_RESET 0x00030000 -#define RISC_JMP_SRP 0x01 +#define RISC_JMP_SRP 0x01 /* ---------------------------------------------------------------------- */ @@ -822,15 +822,4 @@ #define DEFAULT_SAT_U_NTSC 0x7F #define DEFAULT_SAT_V_NTSC 0x5A -typedef enum -{ - SOURCE_TUNER = 0, - SOURCE_COMPOSITE, - SOURCE_SVIDEO, - SOURCE_OTHER1, - SOURCE_OTHER2, - SOURCE_COMPVIASVIDEO, - SOURCE_CCIR656 -} VIDEOSOURCETYPE; - #endif /* _CX88_REG_H_ */ |