freebsd-skq/sys/arm/broadcom/bcm2835
gonzo ee59b6a5e7 [ofw] fix errneous checks for OF_finddevice(9) return value
OF_finddevices returns ((phandle_t)-1) in case of failure. Some code
in existing drivers checked return value to be equal to 0 or
less/equal to 0 which is also wrong because phandle_t is unsigned
type. Most of these checks were for negative cases that were never
triggered so trhere was no impact on functionality.

Reviewed by:	nwhitehorn
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D14645
2018-03-20 00:03:49 +00:00
..
bcm283x_dwc_fdt.c Switch to mainstream DTS for Raspberry Pi-B and Pi-2. 2018-02-27 15:01:17 +00:00
bcm2835_audio.c
bcm2835_bsc.c
bcm2835_bscreg.h
bcm2835_bscvar.h
bcm2835_clkman.c Add skeleton manual page for bcm283x_pwm 2018-01-22 07:43:54 +00:00
bcm2835_clkman.h Add a skeleton Clock Manager for RPi2/3, and use that from pwm 2018-01-22 07:10:30 +00:00
bcm2835_cpufreq.c
bcm2835_dma.c
bcm2835_dma.h
bcm2835_fb.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
bcm2835_fbd.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
bcm2835_ft5406.c
bcm2835_gpio.c
bcm2835_gpio.h
bcm2835_intr.c Switch to mainstream DTS for Raspberry Pi-B and Pi-2. 2018-02-27 15:01:17 +00:00
bcm2835_machdep.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
bcm2835_mbox_prop.h
bcm2835_mbox.c
bcm2835_mbox.h
bcm2835_pwm.c Forgot to edit copy&pasted copyright blurb. 2018-01-22 07:15:24 +00:00
bcm2835_rng.c [rpi] remove IRQ support for BCM233x RNG 2018-03-10 02:49:58 +00:00
bcm2835_sdhci.c Switch to mainstream DTS for Raspberry Pi-B and Pi-2. 2018-02-27 15:01:17 +00:00
bcm2835_spi.c
bcm2835_spireg.h
bcm2835_spivar.h
bcm2835_systimer.c Switch to mainstream DTS for Raspberry Pi-B and Pi-2. 2018-02-27 15:01:17 +00:00
bcm2835_vcbus.h
bcm2835_vcio.c
bcm2835_wdog.c
bcm2835_wdog.h
bcm2836_mp.c
bcm2836_mp.h
bcm2836.c
files.bcm283x
files.bcm2835
files.bcm2836
std.bcm2835
std.bcm2836
std.rpi
vc_vchi_audioserv_defs.h