Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cb3503ca54dc34e8dc3b823a6bd52c0807c102f4
Commit:     cb3503ca54dc34e8dc3b823a6bd52c0807c102f4
Parent:     4e953a216265f8646360fa909bdc87ea4bf446b3
Author:     Jeff Garzik <[EMAIL PROTECTED]>
AuthorDate: Thu Sep 27 07:49:39 2007 -0400
Committer:  Jens Axboe <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 09:25:59 2007 +0200

    drivers/block/umem: use DRIVER_NAME where appropriate
    
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/block/umem.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/block/umem.c b/drivers/block/umem.c
index 2510417..99806f9 100644
--- a/drivers/block/umem.c
+++ b/drivers/block/umem.c
@@ -1029,7 +1029,7 @@ static int __devinit mm_pci_probe(struct pci_dev *dev, 
const struct pci_device_i
        data = ~data;
        data += 1;
 
-       if (request_irq(dev->irq, mm_interrupt, IRQF_SHARED, "pci-umem", card)) 
{
+       if (request_irq(dev->irq, mm_interrupt, IRQF_SHARED, DRIVER_NAME, 
card)) {
                dev_printk(KERN_ERR, &card->dev->dev,
                        "Unable to allocate IRQ\n");
                ret = -ENODEV;
@@ -1155,7 +1155,7 @@ static int __init mm_init(void)
        if (retval)
                return -ENOMEM;
 
-       err = major_nr = register_blkdev(0, "umem");
+       err = major_nr = register_blkdev(0, DRIVER_NAME);
        if (err < 0) {
                pci_unregister_driver(&mm_pci_driver);
                return -EIO;
@@ -1187,7 +1187,7 @@ static int __init mm_init(void)
 
 out:
        pci_unregister_driver(&mm_pci_driver);
-       unregister_blkdev(major_nr, "umem");
+       unregister_blkdev(major_nr, DRIVER_NAME);
        while (i--)
                put_disk(mm_gendisk[i]);
        return -ENOMEM;
@@ -1210,7 +1210,7 @@ static void __exit mm_cleanup(void)
 
        pci_unregister_driver(&mm_pci_driver);
 
-       unregister_blkdev(major_nr, "umem");
+       unregister_blkdev(major_nr, DRIVER_NAME);
 }
 
 module_init(mm_init);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to