108117cc22
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 |
||
---|---|---|
.. | ||
chrome_ec_spi.c | ||
chrome_ec.c | ||
chrome_ec.h | ||
chrome_kb.c | ||
chrome_kb.h | ||
exynos5_combiner.c | ||
exynos5_combiner.h | ||
exynos5_common.h | ||
exynos5_ehci.c | ||
exynos5_fimd.c | ||
exynos5_i2c.c | ||
exynos5_machdep.c | ||
exynos5_mct.c | ||
exynos5_mp.c | ||
exynos5_mp.h | ||
exynos5_pad.c | ||
exynos5_pad.h | ||
exynos5_pmu.c | ||
exynos5_pmu.h | ||
exynos5_spi.c | ||
exynos5_usb_phy.c | ||
exynos5_xhci.c | ||
exynos_uart.c | ||
exynos_uart.h | ||
files.exynos5 | ||
std.exynos5250 | ||
std.exynos5420 |