2 * Copyright (c) 2010 Samsung Electronics, Inc.
5 * This software is a confidential and proprietary information
6 * of Samsung Electronics, Inc. ("Confidential Information"). You
7 * shall not disclose such Confidential Information and shall use
8 * it only in accordance with the terms of the license agreement
9 * you entered into with Samsung Electronics.
18 #define LOG_TAG "W-SETTING"
21 #define DBG(fmt , args...) \
23 LOGD("[%s : %d] "fmt"", __func__, __LINE__, ##args); \
26 #define INFO(fmt , args...) \
28 LOGI("[%s : %d] "fmt"", __func__, __LINE__, ##args); \
31 #define WARN(fmt , args...) \
33 LOGI("[%s : %d] "fmt"", __func__, __LINE__, ##args); \
36 #define ERR(fmt , args...) \
38 LOGI("[%s : %d] "fmt"", __func__, __LINE__, ##args); \
42 #define __FREE(del, arg) do { \
44 del((void *)(arg)); /*cast any argument to (void*) to avoid build warring*/\
49 #define FREE(arg) __FREE(free, arg)