freebsd-dev/sys/arm/samsung/exynos
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
..
chrome_ec_spi.c
chrome_ec.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
chrome_ec.h
chrome_kb.c Correct syntax errors that only show up when compiled with INVARIANTS. 2016-07-09 18:43:15 +00:00
chrome_kb.h
exynos5_combiner.c
exynos5_combiner.h
exynos5_common.h
exynos5_ehci.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
exynos5_fimd.c
exynos5_i2c.c
exynos5_machdep.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
exynos5_mct.c
exynos5_mp.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
exynos5_mp.h Port the Samsung ARM code to use PLATFORM and PLATFORM_SMP. This will help 2017-06-03 20:02:12 +00:00
exynos5_pad.c
exynos5_pad.h
exynos5_pmu.c
exynos5_pmu.h
exynos5_spi.c ofw_spi: Parse property for the SPI mode and CS polarity. 2016-12-18 14:54:20 +00:00
exynos5_usb_phy.c sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
exynos5_xhci.c Fix device delete child function. 2016-10-17 10:20:38 +00:00
exynos_uart.c
exynos_uart.h
files.exynos5 dwmmc: Fully subclass driver 2017-12-30 22:01:17 +00:00
std.exynos5250 Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00
std.exynos5420 Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00