staging: fsl-mc: dprc: shorten DPRC interrupt name
authorStuart Yoder <stuart.yoder@nxp.com>
Mon, 17 Oct 2016 18:43:01 +0000 (13:43 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Oct 2016 07:48:55 +0000 (09:48 +0200)
improve readibility of the DPRC interrupt name in sysfs by
shortening this and just using the device name.  There is only
one interrupt DPRC used, so no further differentiation is needed.

Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/dprc-driver.c

index c5ee463..6aa2915 100644 (file)
@@ -505,7 +505,7 @@ static int register_dprc_irq_handler(struct fsl_mc_device *mc_dev)
                                          dprc_irq0_handler,
                                          dprc_irq0_handler_thread,
                                          IRQF_NO_SUSPEND | IRQF_ONESHOT,
-                                         "FSL MC DPRC irq0",
+                                         dev_name(&mc_dev->dev),
                                          &mc_dev->dev);
        if (error < 0) {
                dev_err(&mc_dev->dev,