diff options
author | Ben Dooks | 2018-10-02 11:42:05 +0100 |
---|---|---|
committer | Mark Brown | 2018-10-19 13:22:16 +0100 |
commit | 950937624079f8ab78939f1effbe21df8e39d420 (patch) | |
tree | 8743097d61cd4c28a7dc48e581f38e8249897206 /samples | |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions