Per the Linux Kernel coding style, as enforced by the kernel checkpatch script, pointers should not be explicitly compared to NULL. Therefore within os_if replace any such comparisons with logical operations performed on the pointer itself. Change-Id: Ia316c656c5156960d254383a8de4bfc58522f877 CRs-Fixed: 2418386