From: Hans de Goede Date: Tue, 17 Dec 2013 15:24:57 +0000 (+0100) Subject: regulator: core: don't print an error when no regulator is found X-Git-Tag: v3.14-rc1~92^2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0781719bd6614e60dd5fff1b5cd45dbce2f7dd2d;p=pandora-kernel.git regulator: core: don't print an error when no regulator is found Only print an error when _regulator_get() is expected to return a valid regulator, that is when _regulator_get() is called from regulator_get() and we're not using the dummy because we don't have full-constraints, or when _regulator_get() is called from regulator_get_exclusive() in which case returning a dummy is not allowed. Signed-off-by: Hans de Goede Signed-off-by: Mark Brown --- Reading git-diff-tree failed