linux/drivers
Michael Ellerman ef24ba7091 powerpc: Remove all usages of NO_IRQ
NO_IRQ has been == 0 on powerpc for just over ten years (since commit
0ebfff1491 ("[POWERPC] Add new interrupt mapping core and change
platforms to use it")). It's also 0 on most other arches.

Although it's fairly harmless, every now and then it causes confusion
when a driver is built on powerpc and another arch which doesn't define
NO_IRQ. There's at least 6 definitions of NO_IRQ in drivers/, at least
some of which are to work around that problem.

So we'd like to remove it. This is fairly trivial in the arch code, we
just convert:

    if (irq == NO_IRQ)	to	if (!irq)
    if (irq != NO_IRQ)	to	if (irq)
    irq = NO_IRQ;	to	irq = 0;
    return NO_IRQ;	to	return 0;

And a few other odd cases as well.

At least for now we keep the #define NO_IRQ, because there is driver
code that uses NO_IRQ and the fixes to remove those will go via other
trees.

Note we also change some occurrences in PPC sound drivers, drivers/ps3,
and drivers/macintosh.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-09-20 20:57:12 +10:00
..
accessibility
acpi ACPI / drivers: replace acpi_probe_lock spinlock with mutex 2016-09-02 22:22:21 +02:00
amba
android
ata pata_ninja32: Avoid corrupting status flags 2016-08-30 11:59:47 -04:00
atm
auxdisplay
base PM / runtime: Add _rcuidle suffix to allow rpm_idle() use from idle 2016-08-31 03:00:59 +02:00
bcma
block
bluetooth
bus
cdrom
char hwrng: pasemi-rng - Use linux/io.h instead of asm/io.h 2016-09-13 17:37:07 +10:00
clk
clocksource
connector
cpufreq cpufreq: dt: Add terminate entry for of_device_id tables 2016-08-31 02:49:05 +02:00
cpuidle
crypto
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fmc
fpga
gpio
gpu This pull request brings in fixes for VC4 3D in 4.8, most of which are 2016-09-02 15:55:15 +10:00
hid
hsi
hv
hwmon
hwspinlock
hwtracing
i2c
ide
idle
iio Char/Misc driver fixes for 4.8-rc5 2016-09-03 11:38:43 -07:00
infiniband
input
iommu
ipack
irqchip
isdn
leds
lguest
lightnvm
macintosh powerpc: Remove all usages of NO_IRQ 2016-09-20 20:57:12 +10:00
mailbox
mcb
md - a stable fix in both DM crypt and DM log-writes for too large bios (as 2016-09-03 17:29:58 -07:00
media
memory
memstick
message
mfd
misc cxl: Fix informational message 2016-09-13 17:37:11 +10:00
mmc
mtd
net
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
oprofile
parisc
parport
pci Char/Misc driver fixes for 4.8-rc5 2016-09-03 11:38:43 -07:00
pcmcia
perf drivers/perf: arm_pmu: Fix NULL pointer dereference during probe 2016-09-02 17:17:52 +01:00
phy
pinctrl
platform
pnp
power
powercap
pps
ps3 powerpc: Remove all usages of NO_IRQ 2016-09-20 20:57:12 +10:00
ptp
pwm
rapidio rapidio/tsi721: fix incorrect detection of address translation condition 2016-09-01 17:52:02 -07:00
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi drivers/scsi/wd719x.c: remove last declaration using DEFINE_PCI_DEVICE_TABLE 2016-09-01 17:52:01 -07:00
sfi
sh
sn
soc
spi
spmi
ssb
staging
target
tc
thermal
thunderbolt thunderbolt: Don't declare Falcon Ridge unsupported 2016-08-31 13:25:02 +02:00
tty serial: 8250: added acces i/o products quad and octal serial cards 2016-08-31 16:28:26 +02:00
uio
usb usb: musb: Fix locking errors for host only mode 2016-08-30 14:11:38 +02:00
uwb
vfio
vhost
video
virt
virtio
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile