diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-06-22 19:36:58 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-22 23:55:09 -0400 |
commit | 9c1eb8e1a04acb27da21d461db2b015ac33a0d25 (patch) | |
tree | 84ab70e9408bf083d7109c8f8c84c49929b76a0b /drivers | |
parent | 740b48be40761c0345a3c5e7ad077b7e4616bd13 (diff) |
staging: comedi: ni_daq_700: cleanup pcmcia debug output messages
These messages should probably just be removed. For now just clean
then up.
Remove a couple redundant KERN_INFO messages in the pcmcia support
code and leave the dev_dbg() ones.
Change the dev_dgb() messages to use __func__ instead of the open
coded string.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/drivers/ni_daq_700.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/staging/comedi/drivers/ni_daq_700.c b/drivers/staging/comedi/drivers/ni_daq_700.c index cc469480ff4f..bb857ac4e2c5 100644 --- a/drivers/staging/comedi/drivers/ni_daq_700.c +++ b/drivers/staging/comedi/drivers/ni_daq_700.c | |||
@@ -166,7 +166,7 @@ static struct comedi_driver driver_dio700 = { | |||
166 | 166 | ||
167 | static void dio700_release(struct pcmcia_device *link) | 167 | static void dio700_release(struct pcmcia_device *link) |
168 | { | 168 | { |
169 | dev_dbg(&link->dev, "dio700_release\n"); | 169 | dev_dbg(&link->dev, "%s\n", __func__); |
170 | 170 | ||
171 | pcmcia_disable_device(link); | 171 | pcmcia_disable_device(link); |
172 | } | 172 | } |
@@ -184,9 +184,7 @@ static void dio700_config(struct pcmcia_device *link) | |||
184 | { | 184 | { |
185 | int ret; | 185 | int ret; |
186 | 186 | ||
187 | printk(KERN_INFO "ni_daq_700: cs-config\n"); | 187 | dev_dbg(&link->dev, "%s\n", __func__); |
188 | |||
189 | dev_dbg(&link->dev, "dio700_config\n"); | ||
190 | 188 | ||
191 | link->config_flags |= CONF_ENABLE_IRQ | CONF_AUTO_AUDIO | | 189 | link->config_flags |= CONF_ENABLE_IRQ | CONF_AUTO_AUDIO | |
192 | CONF_AUTO_SET_IO; | 190 | CONF_AUTO_SET_IO; |
@@ -207,7 +205,7 @@ static void dio700_config(struct pcmcia_device *link) | |||
207 | return; | 205 | return; |
208 | 206 | ||
209 | failed: | 207 | failed: |
210 | printk(KERN_INFO "ni_daq_700 cs failed"); | 208 | dev_dbg(&link->dev, "%s failed\n", __func__); |
211 | dio700_release(link); | 209 | dio700_release(link); |
212 | 210 | ||
213 | } | 211 | } |
@@ -222,9 +220,7 @@ static int dio700_cs_attach(struct pcmcia_device *link) | |||
222 | { | 220 | { |
223 | struct local_info_t *local; | 221 | struct local_info_t *local; |
224 | 222 | ||
225 | printk(KERN_INFO "ni_daq_700: cs-attach\n"); | 223 | dev_dbg(&link->dev, "%s\n", __func__); |
226 | |||
227 | dev_dbg(&link->dev, "dio700_cs_attach()\n"); | ||
228 | 224 | ||
229 | /* Allocate space for private device-specific data */ | 225 | /* Allocate space for private device-specific data */ |
230 | local = kzalloc(sizeof(struct local_info_t), GFP_KERNEL); | 226 | local = kzalloc(sizeof(struct local_info_t), GFP_KERNEL); |