regmap: Add hook for printk logging for debugging during early init
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Jul 2012 13:10:23 +0000 (14:10 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Jul 2012 13:16:16 +0000 (14:16 +0100)
commit1044c180de4ba426aa5fb1b4b13b5f219ddb7105
tree498879b6fe9de31960e8b914be70203a1c8a9223
parente8790ab4ce2a46505a8e1479645414425dbc81f0
regmap: Add hook for printk logging for debugging during early init

Sometimes for failures during very early init the trace infrastructure
isn't available early enough to be used.  For this sort of problem
defining LOG_DEVICE will add printks for basic register I/O on a specific
device, allowing trace to be extracted when the trace system doesn't come
up early enough to work with.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap.c