diff mbox

[07/12] trivial: [media] cx25821: cx25821-medusa-reg.h: fix 0x0x prefix

Message ID 1430219491-5076-8-git-send-email-ao2@ao2.it (mailing list archive)
State New, archived
Headers show

Commit Message

Antonio Ospite April 28, 2015, 11:11 a.m. UTC
Fix the 0x0x prefix in integer constants.

In this case a padding 0 must also be inserted to make the constants
look like all the other 16 bits ones.

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: linux-media@vger.kernel.org
---
 drivers/media/pci/cx25821/cx25821-medusa-reg.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Jiri Kosina May 26, 2015, 1:28 p.m. UTC | #1
On Tue, 28 Apr 2015, Antonio Ospite wrote:

> Fix the 0x0x prefix in integer constants.
> 
> In this case a padding 0 must also be inserted to make the constants
> look like all the other 16 bits ones.
> 
> Signed-off-by: Antonio Ospite <ao2@ao2.it>
> Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
> Cc: linux-media@vger.kernel.org

Doesn't seem to be in linux-next as of today. I am picking it up.

> ---
>  drivers/media/pci/cx25821/cx25821-medusa-reg.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/media/pci/cx25821/cx25821-medusa-reg.h b/drivers/media/pci/cx25821/cx25821-medusa-reg.h
> index c98ac94..2e10643 100644
> --- a/drivers/media/pci/cx25821/cx25821-medusa-reg.h
> +++ b/drivers/media/pci/cx25821/cx25821-medusa-reg.h
> @@ -84,9 +84,9 @@
>  #define	ABIST_BIN4_VGA3				0x01D4
>  #define	ABIST_BIN5_VGA4				0x01D8
>  #define	ABIST_BIN6_VGA5				0x01DC
> -#define	ABIST_BIN7_VGA6				0x0x1E0
> -#define	ABIST_CLAMP_A				0x0x1E4
> -#define	ABIST_CLAMP_B				0x0x1E8
> +#define	ABIST_BIN7_VGA6				0x01E0
> +#define	ABIST_CLAMP_A				0x01E4
> +#define	ABIST_CLAMP_B				0x01E8
>  #define	ABIST_CLAMP_C				0x01EC
>  #define	ABIST_CLAMP_D				0x01F0
>  #define	ABIST_CLAMP_E				0x01F4
> -- 
> 2.1.4
>
diff mbox

Patch

diff --git a/drivers/media/pci/cx25821/cx25821-medusa-reg.h b/drivers/media/pci/cx25821/cx25821-medusa-reg.h
index c98ac94..2e10643 100644
--- a/drivers/media/pci/cx25821/cx25821-medusa-reg.h
+++ b/drivers/media/pci/cx25821/cx25821-medusa-reg.h
@@ -84,9 +84,9 @@ 
 #define	ABIST_BIN4_VGA3				0x01D4
 #define	ABIST_BIN5_VGA4				0x01D8
 #define	ABIST_BIN6_VGA5				0x01DC
-#define	ABIST_BIN7_VGA6				0x0x1E0
-#define	ABIST_CLAMP_A				0x0x1E4
-#define	ABIST_CLAMP_B				0x0x1E8
+#define	ABIST_BIN7_VGA6				0x01E0
+#define	ABIST_CLAMP_A				0x01E4
+#define	ABIST_CLAMP_B				0x01E8
 #define	ABIST_CLAMP_C				0x01EC
 #define	ABIST_CLAMP_D				0x01F0
 #define	ABIST_CLAMP_E				0x01F4