diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-02 04:47:54 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-03 15:19:55 +0300 |
commit | ff268b56ce8c86be920e1e6a15d68b168bed66c9 (patch) | |
tree | 2556c2994985836f26b3fccbbc063052a6481c71 /drivers/regulator/ab8500.c | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 (diff) | |
download | linux-ff268b56ce8c86be920e1e6a15d68b168bed66c9.tar.xz |
regulator: core: Don't spew backtraces on duplicate sysfs
We don't consider a failure to add the sysfs node as a problem,
so use sysfs_create_link_nowarn() so that we don't print a
backtrace when duplicated files exist. Also, downgrade the printk
message to a debug statement so that we're quiet here. This
allows multiple drivers to request a CPU's regulator so that
CPUfreq and AVSish drivers can coexist.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/ab8500.c')
0 files changed, 0 insertions, 0 deletions