Change-Id: I5efbfb75e2894bc8d8e50c8737cfee9738d15eda
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Reviewed-on: http://review.coreboot.org/551
Tested-by: build bot (Jenkins)
Reviewed-by: Peter Stuge <peter@stuge.se>
if (usb_hcs == 0)
return 0;
hci_t *controller = usb_hcs;
- while (controller != 0) {
+ while (controller != NULL) {
controller->shutdown(controller);
controller = controller->next;
}
if (usb_hcs == 0)
return;
hci_t *controller = usb_hcs;
- while (controller != 0) {
+ while (controller != NULL) {
int i;
for (i = 0; i < 128; i++) {
if (controller->devices[i] != 0) {