diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-04-18 20:42:30 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:09:43 -0400 |
commit | f07e8e4bb790f6cb462d5d5425193cad874ac0de (patch) | |
tree | 904759efada2d55794af274e530623491f539c96 /drivers/media/video/au0828/au0828-cards.c | |
parent | fdfc7452f17eb65eb29a143cf992ea2b8d262c7a (diff) |
V4L/DVB (7627): au0828: replace __FUNCTION__ with __func__
replace __FUNCTION__ with __func__ and clean associated checkpatch.pl
warnings.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/au0828/au0828-cards.c')
-rw-r--r-- | drivers/media/video/au0828/au0828-cards.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/media/video/au0828/au0828-cards.c b/drivers/media/video/au0828/au0828-cards.c index eafdc552a9fa..5c9c3aea99d4 100644 --- a/drivers/media/video/au0828/au0828-cards.c +++ b/drivers/media/video/au0828/au0828-cards.c | |||
@@ -45,7 +45,7 @@ int au0828_tuner_callback(void *priv, int command, int arg) | |||
45 | { | 45 | { |
46 | struct au0828_dev *dev = priv; | 46 | struct au0828_dev *dev = priv; |
47 | 47 | ||
48 | dprintk(1, "%s()\n", __FUNCTION__); | 48 | dprintk(1, "%s()\n", __func__); |
49 | 49 | ||
50 | switch(dev->board) { | 50 | switch(dev->board) { |
51 | case AU0828_BOARD_HAUPPAUGE_HVR850: | 51 | case AU0828_BOARD_HAUPPAUGE_HVR850: |
@@ -62,7 +62,7 @@ int au0828_tuner_callback(void *priv, int command, int arg) | |||
62 | } | 62 | } |
63 | else { | 63 | else { |
64 | printk(KERN_ERR | 64 | printk(KERN_ERR |
65 | "%s(): Unknown command.\n", __FUNCTION__); | 65 | "%s(): Unknown command.\n", __func__); |
66 | return -EINVAL; | 66 | return -EINVAL; |
67 | } | 67 | } |
68 | break; | 68 | break; |
@@ -83,11 +83,13 @@ static void hauppauge_eeprom(struct au0828_dev *dev, u8 *eeprom_data) | |||
83 | case 72001: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and basic analog video */ | 83 | case 72001: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and basic analog video */ |
84 | break; | 84 | break; |
85 | default: | 85 | default: |
86 | printk("%s: warning: unknown hauppauge model #%d\n", __FUNCTION__, tv.model); | 86 | printk(KERN_WARNING "%s: warning: " |
87 | "unknown hauppauge model #%d\n", __func__, tv.model); | ||
87 | break; | 88 | break; |
88 | } | 89 | } |
89 | 90 | ||
90 | printk(KERN_INFO "%s: hauppauge eeprom: model=%d\n", __FUNCTION__, tv.model); | 91 | printk(KERN_INFO "%s: hauppauge eeprom: model=%d\n", |
92 | __func__, tv.model); | ||
91 | } | 93 | } |
92 | 94 | ||
93 | 95 | ||
@@ -95,7 +97,7 @@ void au0828_card_setup(struct au0828_dev *dev) | |||
95 | { | 97 | { |
96 | static u8 eeprom[256]; | 98 | static u8 eeprom[256]; |
97 | 99 | ||
98 | dprintk(1, "%s()\n", __FUNCTION__); | 100 | dprintk(1, "%s()\n", __func__); |
99 | 101 | ||
100 | if (dev->i2c_rc == 0) { | 102 | if (dev->i2c_rc == 0) { |
101 | dev->i2c_client.addr = 0xa0 >> 1; | 103 | dev->i2c_client.addr = 0xa0 >> 1; |
@@ -118,7 +120,7 @@ void au0828_card_setup(struct au0828_dev *dev) | |||
118 | */ | 120 | */ |
119 | void au0828_gpio_setup(struct au0828_dev *dev) | 121 | void au0828_gpio_setup(struct au0828_dev *dev) |
120 | { | 122 | { |
121 | dprintk(1, "%s()\n", __FUNCTION__); | 123 | dprintk(1, "%s()\n", __func__); |
122 | 124 | ||
123 | switch(dev->board) { | 125 | switch(dev->board) { |
124 | case AU0828_BOARD_HAUPPAUGE_HVR850: | 126 | case AU0828_BOARD_HAUPPAUGE_HVR850: |