Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB (3616a): cpia cleanups

one printk needs a newline at end;
better MODULE_PARM_DESC text formatting;
don't need to init static data to 0;

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

authored by

Randy Dunlap and committed by
Mauro Carvalho Chehab
9419045f 26abe023

+6 -7
+6 -7
drivers/media/video/cpia.c
··· 64 64 MODULE_SUPPORTED_DEVICE("video"); 65 65 #endif 66 66 67 - static unsigned short colorspace_conv = 0; 67 + static unsigned short colorspace_conv; 68 68 module_param(colorspace_conv, ushort, 0444); 69 69 MODULE_PARM_DESC(colorspace_conv, 70 - "\n<n> Colorspace conversion:" 71 - "\n0 = disable" 72 - "\n1 = enable" 73 - "\nDefault value is 0" 74 - "\n"); 70 + " Colorspace conversion:" 71 + "\n 0 = disable, 1 = enable" 72 + "\n Default value is 0" 73 + ); 75 74 76 75 #define ABOUT "V4L-Driver for Vision CPiA based cameras" 77 76 ··· 4041 4042 "allowed, it is disabled by default now. Users should fix the " 4042 4043 "applications in case they don't work without conversion " 4043 4044 "reenabled by setting the 'colorspace_conv' module " 4044 - "parameter to 1"); 4045 + "parameter to 1\n"); 4045 4046 4046 4047 #ifdef CONFIG_PROC_FS 4047 4048 proc_cpia_create();