mmc: Move tracing code into separate functions
authorSimon Glass <sjg@chromium.org>
Mon, 13 Jun 2016 05:30:20 +0000 (23:30 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 11 Jul 2016 20:06:44 +0000 (14:06 -0600)
commitc0c76ebae3d088867e38fb7a61e290ed9676e516
tree6300aed5165a9fb4bc85c1a6ee4b31886bb4053d
parent6775e013c9b68d110e4d6f0489a8b79876081590
mmc: Move tracing code into separate functions

Move this code into separate functions so that it can be used from the uclass
also. Add static inline versions for when the option is disabled.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mmc/mmc.c
drivers/mmc/mmc_private.h