projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58f1691
)
drivers/pcmcia: NO_IRQ removal for electra_cf.c
author
Michael Ellerman
<mpe@ellerman.id.au>
Sat, 10 Sep 2016 10:01:30 +0000
(20:01 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 21 Mar 2017 11:09:28 +0000
(22:09 +1100)
We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it
from electra_cf.c which is a powerpc-only driver.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/pcmcia/electra_cf.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pcmcia/electra_cf.c
b/drivers/pcmcia/electra_cf.c
index 4d7bc3f4124a58110c4573337f37499efa63f188..c6fe2a4a7a6a8680db1f0bfa11a35944b21e7c20 100644
(file)
--- a/
drivers/pcmcia/electra_cf.c
+++ b/
drivers/pcmcia/electra_cf.c
@@
-207,7
+207,7
@@
static int electra_cf_probe(struct platform_device *ofdev)
return -ENOMEM;
setup_timer(&cf->timer, electra_cf_timer, (unsigned long)cf);
- cf->irq =
NO_IRQ
;
+ cf->irq =
0
;
cf->ofdev = ofdev;
cf->mem_phys = mem.start;
@@
-313,7
+313,7
@@
fail3:
fail2:
release_mem_region(cf->mem_phys, cf->mem_size);
fail1:
- if (cf->irq
!= NO_IRQ
)
+ if (cf->irq)
free_irq(cf->irq, cf);
if (cf->io_virt)