diff options
author | Emil Medve <Emilian.Medve@Freescale.com> | 2007-10-30 15:37:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:08 -0500 |
commit | 7b8712e563df4fefc25d3107fa3fb3abb7331ff4 (patch) | |
tree | bf82403231e24461e9168af38d38c8a53e6b2c36 /drivers | |
parent | 30a468b1c1b9911ae515ff8972ee10c50cca3021 (diff) |
driver core: Make the dev_*() family of macros in device.h complete
Removed duplicates defined elsewhere
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/i2c/chips/isp1301_omap.c | 6 | ||||
-rw-r--r-- | drivers/isdn/gigaset/gigaset.h | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/drivers/i2c/chips/isp1301_omap.c b/drivers/i2c/chips/isp1301_omap.c index b767603a07ba..ebfbb2947ae6 100644 --- a/drivers/i2c/chips/isp1301_omap.c +++ b/drivers/i2c/chips/isp1301_omap.c | |||
@@ -259,12 +259,6 @@ static inline const char *state_name(struct isp1301 *isp) | |||
259 | return state_string(isp->otg.state); | 259 | return state_string(isp->otg.state); |
260 | } | 260 | } |
261 | 261 | ||
262 | #ifdef VERBOSE | ||
263 | #define dev_vdbg dev_dbg | ||
264 | #else | ||
265 | #define dev_vdbg(dev, fmt, arg...) do{}while(0) | ||
266 | #endif | ||
267 | |||
268 | /*-------------------------------------------------------------------------*/ | 262 | /*-------------------------------------------------------------------------*/ |
269 | 263 | ||
270 | /* NOTE: some of this ISP1301 setup is specific to H2 boards; | 264 | /* NOTE: some of this ISP1301 setup is specific to H2 boards; |
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h index a0317abaeb11..02bdaf22d7ea 100644 --- a/drivers/isdn/gigaset/gigaset.h +++ b/drivers/isdn/gigaset/gigaset.h | |||
@@ -106,12 +106,6 @@ enum debuglevel { | |||
106 | activated */ | 106 | activated */ |
107 | }; | 107 | }; |
108 | 108 | ||
109 | /* missing from linux/device.h ... */ | ||
110 | #ifndef dev_notice | ||
111 | #define dev_notice(dev, format, arg...) \ | ||
112 | dev_printk(KERN_NOTICE , dev , format , ## arg) | ||
113 | #endif | ||
114 | |||
115 | /* Kernel message macros for situations where dev_printk and friends cannot be | 109 | /* Kernel message macros for situations where dev_printk and friends cannot be |
116 | * used for lack of reliable access to a device structure. | 110 | * used for lack of reliable access to a device structure. |
117 | * linux/usb.h already contains these but in an obsolete form which clutters | 111 | * linux/usb.h already contains these but in an obsolete form which clutters |