diff options
author | Matthias Urlichs <smurf@smurf.noris.de> | 2008-08-15 18:04:33 -0400 |
---|---|---|
committer | Karsten Keil <kkeil@suse.de> | 2009-01-09 16:44:24 -0500 |
commit | 837468d135dcc49cdabc9fa92fc9550479f60704 (patch) | |
tree | 354aace7616729beac5ae52165b9470651145193 /drivers/isdn/mISDN/layer1.c | |
parent | 8b6015f736125050722dbe59c4f943e78cd626f0 (diff) |
mISDN: Use struct device name field
struct device already has a 'name' member, use it.
Signed-off-by: Matthias Urlichs <matthias@urlichs.de>
Signed-off-by: Karsten Keil <kkeil@suse.de>
Diffstat (limited to 'drivers/isdn/mISDN/layer1.c')
-rw-r--r-- | drivers/isdn/mISDN/layer1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/layer1.c b/drivers/isdn/mISDN/layer1.c index b73e952d12cf..e826eeb1ecec 100644 --- a/drivers/isdn/mISDN/layer1.c +++ b/drivers/isdn/mISDN/layer1.c | |||
@@ -101,7 +101,7 @@ l1m_debug(struct FsmInst *fi, char *fmt, ...) | |||
101 | va_list va; | 101 | va_list va; |
102 | 102 | ||
103 | va_start(va, fmt); | 103 | va_start(va, fmt); |
104 | printk(KERN_DEBUG "%s: ", l1->dch->dev.name); | 104 | printk(KERN_DEBUG "%s: ", dev_name(&l1->dch->dev.dev)); |
105 | vprintk(fmt, va); | 105 | vprintk(fmt, va); |
106 | printk("\n"); | 106 | printk("\n"); |
107 | va_end(va); | 107 | va_end(va); |