Commit 1fbff0a6 authored by Sascha Hauer's avatar Sascha Hauer

mxc_nand: use DRIVER_NAME where appropriate

Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent c110eaf4
...@@ -698,7 +698,7 @@ static int __init mxcnd_probe(struct platform_device *pdev) ...@@ -698,7 +698,7 @@ static int __init mxcnd_probe(struct platform_device *pdev)
mtd->priv = this; mtd->priv = this;
mtd->owner = THIS_MODULE; mtd->owner = THIS_MODULE;
mtd->dev.parent = &pdev->dev; mtd->dev.parent = &pdev->dev;
mtd->name = "mxc_nand"; mtd->name = DRIVER_NAME;
/* 50 us command delay time */ /* 50 us command delay time */
this->chip_delay = 5; this->chip_delay = 5;
...@@ -762,7 +762,7 @@ static int __init mxcnd_probe(struct platform_device *pdev) ...@@ -762,7 +762,7 @@ static int __init mxcnd_probe(struct platform_device *pdev)
host->irq = platform_get_irq(pdev, 0); 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) if (err)
goto eirq; goto eirq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment