diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-03-12 19:32:45 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-03-13 17:49:53 +0100 |
commit | 6e5505cf3ee411761fae8b7419e4f673be41690a (patch) | |
tree | eb1226f4ec010e0b0b27ee42ef2bd865a09b0bbe /drivers/regulator/mp5416.c | |
parent | regulator: vqmmc-ipq4019-regulator: add binding document (diff) | |
download | linux-6e5505cf3ee411761fae8b7419e4f673be41690a.tar.xz linux-6e5505cf3ee411761fae8b7419e4f673be41690a.zip |
regulator: core: Avoid device name duplication in NORMAL_GET
With current code:
st-gyro-i2c i2c-PRP0001:00: i2c-PRP0001:00 supply vdd not found, using dummy regulator
which looks a bit oververbose.
Replace this with simplified format string for the above case, and drop
"deviceless" case since for all dev_*() macros used in _regulator_get()
the "(null)" will be printed anyway.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200312183245.1612-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/mp5416.c')
0 files changed, 0 insertions, 0 deletions