Use standard debug features instead of relying on the custom configuration option CONFIG_RTS5208_DEBUG and a series of home grown macros.
Changes in v3: * defined rtsx_hex_dump as a static inline function to avoid checkpatch errors Changes in v2: * defined rtsx_hex_dump macro to produce output only if DEBUG is defined Fabio Falzoi (4): Staging: rts5208: Replace custom macro with pr_debug Staging: rts5208: Replace custom macro with print_hex_dump_bytes Staging: rts5208: Remove CONFIG_RTS5208_DEBUG option Staging: rts5208: Fix a format specifier for dev_err drivers/staging/rts5208/Kconfig | 7 -- drivers/staging/rts5208/debug.h | 43 ------- drivers/staging/rts5208/ms.c | 144 ++++++++++++------------ drivers/staging/rts5208/rtsx.c | 8 +- drivers/staging/rts5208/rtsx.h | 1 - drivers/staging/rts5208/rtsx_card.c | 72 ++++++------ drivers/staging/rts5208/rtsx_card.h | 1 - drivers/staging/rts5208/rtsx_chip.c | 134 +++++++++++----------- drivers/staging/rts5208/rtsx_scsi.c | 45 ++++---- drivers/staging/rts5208/rtsx_transport.c | 45 ++++---- drivers/staging/rts5208/sd.c | 186 +++++++++++++++---------------- drivers/staging/rts5208/spi.c | 8 +- drivers/staging/rts5208/trace.h | 15 ++- drivers/staging/rts5208/xd.c | 121 ++++++++++---------- 14 files changed, 393 insertions(+), 437 deletions(-) delete mode 100644 drivers/staging/rts5208/debug.h -- 2.0.0 _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel