From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sean Anderson Date: Sun, 4 Oct 2020 21:39:56 -0400 Subject: [PATCH 15/16] linux/compat.h: Remove redefinition of dev_xxx macros In-Reply-To: <20201005013958.498888-1-seanga2@gmail.com> References: <20201005013958.498888-1-seanga2@gmail.com> Message-ID: <20201005013958.498888-16-seanga2@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de All users of these functions now include dm/device_compat.h directly. Signed-off-by: Sean Anderson --- include/linux/compat.h | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/include/linux/compat.h b/include/linux/compat.h index d129780312..38549baa25 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h @@ -24,34 +24,6 @@ struct p_current{ extern struct p_current *current; -/* avoid conflict with */ -#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 dev_dbg(dev, fmt, args...) \ - debug(fmt, ##args) -#define dev_vdbg(dev, fmt, args...) \ - debug(fmt, ##args) -#define dev_info(dev, fmt, args...) \ - printf(fmt, ##args) -#define dev_err(dev, fmt, args...) \ - printf(fmt, ##args) -#define dev_warn(dev, fmt, args...) \ - printf(fmt, ##args) - #define GFP_ATOMIC ((gfp_t) 0) #define GFP_KERNEL ((gfp_t) 0) #define GFP_NOFS ((gfp_t) 0) -- 2.28.0