Skip to content

Commit

Permalink
mxc_nand: use DRIVER_NAME where appropriate
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Sascha Hauer committed Nov 12, 2009
1 parent c110eaf commit 1fbff0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mtd/nand/mxc_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 1fbff0a

Please sign in to comment.