aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2018-10-02 11:42:05 +0100
committerMark Brown <broonie@kernel.org>2018-10-19 13:22:16 +0100
commit950937624079f8ab78939f1effbe21df8e39d420 (patch)
tree8743097d61cd4c28a7dc48e581f38e8249897206 /include/linux/regmap.h
parentLinux 4.19-rc1 (diff)
downloadlinux-dev-950937624079f8ab78939f1effbe21df8e39d420.tar.xz
linux-dev-950937624079f8ab78939f1effbe21df8e39d420.zip
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: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regmap.h')
0 files changed, 0 insertions, 0 deletions