-#else
-#define nfc_reg_read(r) __nfc_reg_read(r, #r, __func__, __LINE__)
-#define nfc_reg_write(v, r) __nfc_reg_write(v, r, #r, __func__, __LINE__)
-
-static inline u32 __nfc_reg_read(unsigned long reg, const char *reg_name,
- const char *fn, int ln)
-{
- u32 val;
-
- val = readl(reg);
- if (g_nfc_debug_level >= NFC_DEBUG_MAX)
- diag_printf("%s@%d: Read %08x from %s[%08lx]\n", fn, ln, val, reg_name, reg);
- return val;
-}
-
-static inline void __nfc_reg_write(u32 val, unsigned long reg,
- const char *reg_name, const char *fn, int ln)
-{
- if (g_nfc_debug_level >= NFC_DEBUG_MAX)
- diag_printf("%s@%d: Writing %08x to %s[%08lx]\n", fn, ln, val, reg_name, reg);
- writel(val, reg);
-}
-#endif