summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2013-08-18 13:35:36 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-08-18 13:39:24 +0200
commit04074f1fdfe9eefc51bded7f45fafd8cc5d3779c (patch)
tree3ef46e4ff8518509068d1c33d1efa42549ac1cf3 /drivers
parent[media] saa7115: Implement i2c_board_info.platform_data (diff)
downloadlinux-04074f1fdfe9eefc51bded7f45fafd8cc5d3779c.tar.xz
linux-04074f1fdfe9eefc51bded7f45fafd8cc5d3779c.zip
[media] saa7115: make multi-line comments compliant with CodingStyle
changeset 2ccf12a did a crappy job when added multi-line comment lines, violating CodingStyle. Change the comments added there to fulfill CodingStyle, and document the platform_data using Documentation/kernel-doc-nano-HOWTO.txt. Cc: Jon Arne Jørgensen <jonarne@jonarne.no> Cc: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/i2c/saa7115.c24
1 files changed, 14 insertions, 10 deletions
diff --git a/drivers/media/i2c/saa7115.c b/drivers/media/i2c/saa7115.c
index 5cc48f751b3a..637d02634527 100644
--- a/drivers/media/i2c/saa7115.c
+++ b/drivers/media/i2c/saa7115.c
@@ -225,12 +225,14 @@ static const unsigned char saa7111_init[] = {
0x00, 0x00
};
-/* This table has one illegal value, and some values that are not
- correct according to the datasheet initialization table.
-
- If you need a table with legal/default values tell the driver in
- i2c_board_info.platform_data, and you will get the gm7113c_init
- table instead. */
+/*
+ * This table has one illegal value, and some values that are not
+ * correct according to the datasheet initialization table.
+ *
+ * If you need a table with legal/default values tell the driver in
+ * i2c_board_info.platform_data, and you will get the gm7113c_init
+ * table instead.
+ */
/* SAA7113 Init codes */
static const unsigned char saa7113_init[] = {
@@ -265,10 +267,12 @@ static const unsigned char saa7113_init[] = {
0x00, 0x00
};
-/* GM7113C is a clone of the SAA7113 chip
- This init table is copied out of the saa7113 datasheet.
- In R_08 we enable "Automatic Field Detection" [AUFD],
- this is disabled when saa711x_set_v4lstd is called. */
+/*
+ * GM7113C is a clone of the SAA7113 chip
+ * This init table is copied out of the saa7113 datasheet.
+ * In R_08 we enable "Automatic Field Detection" [AUFD],
+ * this is disabled when saa711x_set_v4lstd is called.
+ */
static const unsigned char gm7113c_init[] = {
R_01_INC_DELAY, 0x08,
R_02_INPUT_CNTL_1, 0xc0,