qcacmn: add recommended err/debug function

add recommended err/debug function

Change-Id: I8d564a155485be4b997ecd8ba8325e3e4d72d7b1
CRs-Fixed: 3490031
Este commit está contenido en:
KARTHIK KUMAR T
2023-04-19 14:27:06 +05:30
cometido por Madan Koyyalamudi
padre 428903aa33
commit 3b082b0bf8

Ver fichero

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -106,7 +106,7 @@ int qld_register(void *addr, size_t size, char *name)
uint32_t list_count = 0;
if (!qld_handle || !addr) {
qld_err("Handle or address is NULL");
qld_debug("Handle or address is NULL");
return -EINVAL;
}