[PATCH 2/9] drivers: explicitly compare pointers to NULL