mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v5 0/4] Staging: rts5208: Use standard debug features
@ 2014-07-29 22:15 Fabio Falzoi
  2014-07-29 22:15 ` [PATCH v5 1/4] Staging: rts5208: Remove useless debug prints Fabio Falzoi
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Fabio Falzoi @ 2014-07-29 22:15 UTC (permalink / raw)
  To: gregkh
  Cc: devel, linux-kernel, joe, dan.carpenter, wei_wang, micky_ching,
	Fabio Falzoi

Use standard debug features instead of relying on the custom
configuration option CONFIG_RTS5208_DEBUG and a series of home grown
macros.

Changes in v5:
* remove useless prints used just to mark when entering a function
  (we should prefer ftrace for that)

Changes in v4:
* use dev_dbg instead of pr_debug
* use dev_dbg with %*ph modifier instead of print_hex_dump_bytes

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: Remove useless traces
  Staging: rts5208: Replace custom macro with dev_dbg
  Staging: rts5208: Use dev_dbg and %*ph specifier to dump memory
  Staging: rts5208: Remove CONFIG_RTS5208_DEBUG option

 drivers/staging/rts5208/Kconfig          |   7 --
 drivers/staging/rts5208/debug.h          |  43 -------
 drivers/staging/rts5208/ms.c             | 130 +++++++++------------
 drivers/staging/rts5208/rtsx.c           |   6 +-
 drivers/staging/rts5208/rtsx.h           |   1 -
 drivers/staging/rts5208/rtsx_card.c      |  73 ++++++------
 drivers/staging/rts5208/rtsx_card.h      |   1 -
 drivers/staging/rts5208/rtsx_chip.c      | 137 ++++++++++++----------
 drivers/staging/rts5208/rtsx_chip.h      |   5 +
 drivers/staging/rts5208/rtsx_scsi.c      |  47 ++++----
 drivers/staging/rts5208/rtsx_scsi.h      |   2 +-
 drivers/staging/rts5208/rtsx_transport.c |  55 +++++----
 drivers/staging/rts5208/sd.c             | 194 +++++++++++++++++--------------
 drivers/staging/rts5208/spi.c            |   7 +-
 drivers/staging/rts5208/trace.h          |  14 +--
 drivers/staging/rts5208/xd.c             | 104 +++++++++--------
 16 files changed, 398 insertions(+), 428 deletions(-)
 delete mode 100644 drivers/staging/rts5208/debug.h

-- 
2.0.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-08-04  1:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-29 22:15 [PATCH v5 0/4] Staging: rts5208: Use standard debug features Fabio Falzoi
2014-07-29 22:15 ` [PATCH v5 1/4] Staging: rts5208: Remove useless debug prints Fabio Falzoi
2014-07-29 22:15 ` [PATCH v5 2/4] Staging: rts5208: Replace custom macro with dev_dbg Fabio Falzoi
2014-07-29 22:15 ` [PATCH v5 3/4] Staging: rts5208: Use dev_dbg and %*ph specifier to dump memory Fabio Falzoi
     [not found]   ` <53D84FE3.9040709@realsil.com.cn>
2014-08-01 17:55     ` [PATCH v5 3/4] Staging: rts5208: Use dev_dbg and %*ph specifierto " Fabio Falzoi
2014-08-04  1:23       ` [PATCH v5 3/4] Staging: rts5208: Use dev_dbg and %*phspecifiertodump memory micky
2014-07-29 22:15 ` [PATCH v5 4/4] Staging: rts5208: Remove CONFIG_RTS5208_DEBUG option Fabio Falzoi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®