summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2020-10-04 21:39:57 -0400
committerTom Rini <trini@konsulko.com>2020-10-16 08:43:00 -0400
commitb944905764550f3884c53f3de7a1bfde2d9d6c39 (patch)
treeea40e8c6a93a8e6e54ead962cc709e993b607419
parentb436a0438e6f5c9489299806e2700dd06a553f41 (diff)
downloadu-boot-WIP/2020-10-15-further-cleanup_dev_xxx.tar.gz
dm: Don't undefine dev_xxx macrosWIP/2020-10-15-further-cleanup_dev_xxx
Now that linux/compat.h does not define these macros, we do not need to undefine them. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/dm/device_compat.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/dm/device_compat.h b/include/dm/device_compat.h
index 8f26053b45..82d7a7d492 100644
--- a/include/dm/device_compat.h
+++ b/include/dm/device_compat.h
@@ -16,26 +16,6 @@
#include <linux/compat.h>
/*
- * REVISIT:
- * remove the following after resolving conflicts with <linux/compat.h>
- */
-#ifdef dev_dbg
-#undef dev_dbg
-#endif
-#ifdef dev_vdbg
-#undef dev_vdbg
-#endif
-#ifdef dev_info
-#undef dev_info
-#endif
-#ifdef dev_err
-#undef dev_err
-#endif
-#ifdef dev_warn
-#undef dev_warn
-#endif
-
-/*
* Define a new identifier which can be tested on by C code. A similar
* definition is made for DEBUG in <log.h>.
*/