commit | 950937624079f8ab78939f1effbe21df8e39d420 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben.dooks@codethink.co.uk> | Tue Oct 02 11:42:05 2018 +0100 |
committer | Mark Brown <broonie@kernel.org> | Fri Oct 19 13:22:16 2018 +0100 |
tree | 8743097d61cd4c28a7dc48e581f38e8249897206 | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 [diff] |
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>