From: Mihir Singh Date: Sat, 21 Sep 2013 18:48:09 +0000 (+0000) Subject: hp100: replace hardcoded name in /proc/interrupts with interface name X-Git-Tag: v3.13-rc1~105^2~301 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=307fc4d727a795f720a8c529223dcda9729fc402;p=~andy%2Flinux hp100: replace hardcoded name in /proc/interrupts with interface name The /proc/interrupts file displays hp100, which is not the accepted style. Printing eth%d is more helpful. Signed-off-by: Mihir Singh Reviewed-By: Matthew Whitehead Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/hp/hp100.c b/drivers/net/ethernet/hp/hp100.c index 91227d03274..37860096f74 100644 --- a/drivers/net/ethernet/hp/hp100.c +++ b/drivers/net/ethernet/hp/hp100.c @@ -1098,7 +1098,7 @@ static int hp100_open(struct net_device *dev) if (request_irq(dev->irq, hp100_interrupt, lp->bus == HP100_BUS_PCI || lp->bus == HP100_BUS_EISA ? IRQF_SHARED : 0, - "hp100", dev)) { + dev->name, dev)) { printk("hp100: %s: unable to get IRQ %d\n", dev->name, dev->irq); return -EAGAIN; }