freebsd-dev/sys/arm/amlogic/aml8726
Oleksandr Tymoshenko 108117cc22 [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
..
aml8726_ccm.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
aml8726_ccm.h
aml8726_clkmsr.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
aml8726_clkmsr.h
aml8726_fb.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
aml8726_fb.h
aml8726_gpio.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
aml8726_i2c.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
aml8726_identsoc.c Add the missing void to function signatures in much of the arm code. 2016-12-13 13:43:22 +00:00
aml8726_if_dwc.c Add glue driver for Amlogic Meson Gigabit Ethernet Controller 2015-12-03 09:37:20 +00:00
aml8726_l2cache.c
aml8726_machdep.c Add the missing void to function signatures in much of the arm code. 2016-12-13 13:43:22 +00:00
aml8726_machdep.h
aml8726_mmc.c Add and use a MMC_DECLARE_BRIDGE macro for declaring mmc(4) bridges 2017-03-07 22:42:44 +00:00
aml8726_mmc.h sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
aml8726_mp.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
aml8726_pic.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
aml8726_pinctrl.c Move including fdt_pinctrl.h after openfirm.h to get th edefinition of 2016-11-14 11:52:22 +00:00
aml8726_pinctrl.h
aml8726_rng.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
aml8726_rtc.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
aml8726_sdxc-m8.c Add and use a MMC_DECLARE_BRIDGE macro for declaring mmc(4) bridges 2017-03-07 22:42:44 +00:00
aml8726_sdxc-m8.h sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
aml8726_soc.h This modifies several FreeBSD drivers to use the GNU approach to 2015-04-11 08:34:41 +00:00
aml8726_timer.c Use the TSLOG framework to record entry/exit timestamps for DELAY and 2017-12-31 09:24:41 +00:00
aml8726_uart_console.c
aml8726_uart.h This patch adds support for the extended baud rate register 2015-05-06 01:07:59 +00:00
aml8726_usb_phy-m3.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
aml8726_usb_phy-m6.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
aml8726_wdt.c Add the missing void to function signatures in much of the arm code. 2016-12-13 13:43:22 +00:00
files.aml8726 Revert r327250 as it broke the build for some armv6 kernel and all armv4/5 2017-12-28 07:31:14 +00:00
std.aml8726 Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
uart_dev_aml8726.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00