summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/pd6729.h
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2009-10-24 18:07:16 +0200
committerDominik Brodowski <linux@dominikbrodowski.net>2009-11-09 08:30:07 +0100
commita7149f9a26eb44a5658d56335c23104ba529e9f6 (patch)
tree963e3aac8d251e3bb63544de733e908cf7787e70 /drivers/pcmcia/pd6729.h
parent9cb495bb41f07a3ebfc60d3b9d26017a1fd7050c (diff)
downloadop-kernel-dev-a7149f9a26eb44a5658d56335c23104ba529e9f6.zip
op-kernel-dev-a7149f9a26eb44a5658d56335c23104ba529e9f6.tar.gz
pcmcia: use dev_dbg and dev_print in pd6729.c
As suggested by Wolfram Sang <w.sang@pengutronix.de>, use dev_dbg(), and dev_{err,warn,info}() in pd6729.c, and add some "\n" suggested by Komuro <komurojun-mbn@nifty.com>. In the ISR, use pr_devel() and dev_vdbg() as they are only compiled if DEBUG (or, for dev_vdbg(), VERBOSE_DEBUG) are set explicitly. CC: Komuro <komurojun-mbn@nifty.com> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/pd6729.h')
-rw-r--r--drivers/pcmcia/pd6729.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pcmcia/pd6729.h b/drivers/pcmcia/pd6729.h
index f392e45..41418d3 100644
--- a/drivers/pcmcia/pd6729.h
+++ b/drivers/pcmcia/pd6729.h
@@ -1,13 +1,6 @@
#ifndef _INCLUDE_GUARD_PD6729_H_
#define _INCLUDE_GUARD_PD6729_H_
-/* Debuging defines */
-#ifdef NOTRACE
-#define dprintk(fmt, args...) printk(fmt , ## args)
-#else
-#define dprintk(fmt, args...) do {} while (0)
-#endif
-
/* Flags for I365_GENCTL */
#define I365_DF_VS1 0x40 /* DF-step Voltage Sense */
#define I365_DF_VS2 0x80
OpenPOWER on IntegriCloud