diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-12 06:00:36 -0400 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-09-12 07:04:56 -0400 |
commit | 372095723a597f4d27f561abab9b3da4c8a33106 (patch) | |
tree | a6e2e78a4ea158de9b4b2af9a6ddee7fefa33d9f /drivers/edac/mpc85xx_edac.c | |
parent | 43fa9ba632bd90b5cf63793a461e28df6af4387a (diff) |
EDAC: Remove NO_IRQ from powerpc-only drivers
We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it
from powerpc-only drivers.
The pdata structs are kzalloc'ed, so we don't need to initialise those
to 0, we can just drop the assignments entirely.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Johannes Thumshirn <morbidrsa@gmail.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: linuxppc-dev@ozlabs.org
Link: http://lkml.kernel.org/r/1473674436-19467-1-git-send-email-mpe@ellerman.id.au
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/mpc85xx_edac.c')
-rw-r--r-- | drivers/edac/mpc85xx_edac.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c index 0a4020923684..ff0567526ee3 100644 --- a/drivers/edac/mpc85xx_edac.c +++ b/drivers/edac/mpc85xx_edac.c | |||
@@ -170,7 +170,6 @@ static int mpc85xx_pci_err_probe(struct platform_device *op) | |||
170 | 170 | ||
171 | pdata = pci->pvt_info; | 171 | pdata = pci->pvt_info; |
172 | pdata->name = "mpc85xx_pci_err"; | 172 | pdata->name = "mpc85xx_pci_err"; |
173 | pdata->irq = NO_IRQ; | ||
174 | 173 | ||
175 | plat_data = op->dev.platform_data; | 174 | plat_data = op->dev.platform_data; |
176 | if (!plat_data) { | 175 | if (!plat_data) { |
@@ -491,7 +490,6 @@ static int mpc85xx_l2_err_probe(struct platform_device *op) | |||
491 | 490 | ||
492 | pdata = edac_dev->pvt_info; | 491 | pdata = edac_dev->pvt_info; |
493 | pdata->name = "mpc85xx_l2_err"; | 492 | pdata->name = "mpc85xx_l2_err"; |
494 | pdata->irq = NO_IRQ; | ||
495 | edac_dev->dev = &op->dev; | 493 | edac_dev->dev = &op->dev; |
496 | dev_set_drvdata(edac_dev->dev, edac_dev); | 494 | dev_set_drvdata(edac_dev->dev, edac_dev); |
497 | edac_dev->ctl_name = pdata->name; | 495 | edac_dev->ctl_name = pdata->name; |