Skip to content
Unverified Commit 95093762 authored by Ben Dooks's avatar Ben Dooks Committed by Mark Brown
Browse files

regmap: use less #ifdef for LOG_DEVICE



Move the checking of the LOG_DEVICE into a function to reduce the
number of #ifdefs and  ensure more of the code gets compiled/checked,
and make it easier to change this for internal debugging purposes
(such as checking >1 device).

Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5b394b2d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment