From: Stephen Boyd Date: Tue, 2 Jun 2015 01:47:54 +0000 (-0700) Subject: regulator: core: Don't spew backtraces on duplicate sysfs X-Git-Tag: omap-for-v4.2/fixes-rc1^2~145^2~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff268b56ce8c86be920e1e6a15d68b168bed66c9;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed