qcacmn: target_if: Replace explicit comparison to NULL

Per the Linux Kernel coding style, as enforced by the kernel
checkpatch script, pointers should not be explicitly compared to
NULL. Therefore within target_if replace any such comparisons with
logical operations performed on the pointer itself.

Change-Id: I436bb3ec12d331df2260507b6a9afbab84a8a54f
CRs-Fixed: 2418256
This commit is contained in:
Jeff Johnson
2019-03-18 09:49:45 -07:00
کامیت شده توسط nshrivas
والد cd7fda8963
کامیت eee26f7b76
6فایلهای تغییر یافته به همراه91 افزوده شده و 91 حذف شده

مشاهده پرونده

@@ -1809,7 +1809,7 @@ int target_if_spectral_process_report_gen3(
struct spectral_report report;
spectral = get_target_if_spectral_handle_from_pdev(pdev);
if (spectral == NULL) {
if (!spectral) {
spectral_err("Spectral target object is null");
return -EINVAL;
}