Staging: tm6000: Checkpatch cleanups
PATCH 1/1 Staging: tm6000: Checkpatch cleanups
This fixes some checkpatch issues in the tm6000 driver.
Signed-off-by Benjamin Adolphi <[email protected]>
--- drivers/staging/tm6000/tm6000-alsa.c | 5 ++- drivers/staging/tm6000/tm6000-i2c.c | 41 +++++++++++++++-------------- drivers/staging/tm6000/tm6000-regs.h | 2 +- drivers/staging/tm6000/tm6000-stds.c | 6 ++-- drivers/staging/tm6000/tm6000-usb-isoc.h | 2 +- 5 files changed, 29 insertions(+), 27 deletions(-)
drivers/staging/tm6000/tm6000-alsa.c +3 -2
@@ -16,7 +16,7 @@#include <linux/interrupt.h> #include <linux/usb.h> -#include <asm/delay.h> +#include <linux/delay.h> #include <sound/core.h> #include <sound/pcm.h> #include <sound/pcm_params.h>
@@ -76,7 +76,8 @@ MODULE_PARM_DESC(index, "Index value for tm6000x capture interface(s).");Module macros ****************************************************************************/ -MODULE_DESCRIPTION ("ALSA driver module for tm5600/tm6000/tm6010 based TV cards" ); +MODULE_DESCRIPTION ("ALSA driver module for tm5600/tm6000/tm6010 " +"based TV cards" );MODULE_AUTHOR ("Mauro Carvalho Chehab <[email protected]>" );MODULE_LICENSE ("GPL" ); MODULE_SUPPORTED_DEVICE("{{Trident,tm5600},"
drivers/staging/tm6000/tm6000-i2c.c +21 -20
99 lines not on this page · raw message
drivers/staging/tm6000/tm6000-regs.h +1 -1
@@ -78,7 +78,7 @@*/ enum { -TM6000_URB_MSG_VIDEO =1 , +TM6000_URB_MSG_VIDEO =1 ,TM6000_URB_MSG_AUDIO ,TM6000_URB_MSG_VBI ,TM6000_URB_MSG_PTS ,
drivers/staging/tm6000/tm6000-stds.c +3 -3
@@ -763,11 +763,11 @@ static struct tm6000_std_settings svideo_stds[] = {void tm6000_get_std_res (struct tm6000_core *dev) {/* Currently, those are the only supported resoltions */ -if (dev->norm &V4L2_STD_525_60 ) { +if (dev->norm &V4L2_STD_525_60 ) dev->height =480 ; - }else { +else dev->height =576 ; - } + dev->width =720 ; }
drivers/staging/tm6000/tm6000-usb-isoc.h +1 -1
@@ -46,7 +46,7 @@ struct usb_isoc_ctl {int tmp_buf_len;/* Stores already requested buffers */ -struct tm6000_buffer *buf; +struct tm6000_buffer *buf;/* Stores the number of received fields */ int nfields;
Signature · 1 line
1.6.4.4
Quoted 1 line · Benjamin Adolphi
This fixes some checkpatch issues in the tm6000 driver.
This patch doesn't apply :(