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 |
||
---|---|---|
.. | ||
am335x_dmtimer.c | ||
am335x_dmtpps.c | ||
am335x_dmtreg.h | ||
am335x_ecap.c | ||
am335x_ehrpwm.c | ||
am335x_gpio.c | ||
am335x_lcd_syscons.c | ||
am335x_lcd.c | ||
am335x_lcd.h | ||
am335x_musb.c | ||
am335x_pmic.c | ||
am335x_prcm.c | ||
am335x_pwm.h | ||
am335x_pwmss.c | ||
am335x_reg.h | ||
am335x_rtc.c | ||
am335x_rtcreg.h | ||
am335x_rtcvar.h | ||
am335x_scm_padconf.c | ||
am335x_scm_padconf.h | ||
am335x_scm.c | ||
am335x_scm.h | ||
am335x_usbss.c | ||
files.am335x | ||
std.am335x | ||
tda19988.c | ||
tps65217x.h |