From: Sascha Hauer Date: Wed, 21 Oct 2009 14:06:27 +0000 (+0200) Subject: mxc_nand: use DRIVER_NAME where appropriate X-Git-Tag: upstream/snapshot3+hdmi~16127^2~7^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1fbff0a6e975a986032881f139b806c23680f823;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git mxc_nand: use DRIVER_NAME where appropriate Signed-off-by: Sascha Hauer --- diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 30eeb4c..53e9412 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c @@ -698,7 +698,7 @@ static int __init mxcnd_probe(struct platform_device *pdev) mtd->priv = this; mtd->owner = THIS_MODULE; mtd->dev.parent = &pdev->dev; - mtd->name = "mxc_nand"; + mtd->name = DRIVER_NAME; /* 50 us command delay time */ this->chip_delay = 5; @@ -762,7 +762,7 @@ static int __init mxcnd_probe(struct platform_device *pdev) host->irq = platform_get_irq(pdev, 0); - err = request_irq(host->irq, mxc_nfc_irq, 0, "mxc_nd", host); + err = request_irq(host->irq, mxc_nfc_irq, 0, DRIVER_NAME, host); if (err) goto eirq;