From: Alistair John Strachan Date: Thu, 15 Jan 2009 21:27:48 +0000 (+0100) Subject: hwmon: (abituguru3) Fix CONFIG_DMI=n fallback to probe X-Git-Tag: v2.6.29-rc2~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46a5f173fc88ffc22651162033696d8a9fbcdc5c;p=pandora-kernel.git hwmon: (abituguru3) Fix CONFIG_DMI=n fallback to probe When CONFIG_DMI is not enabled, dmi detection should flag that no board could be detected (err=1) rather than another error condition (err<0). This fixes the fallback to manual probing for all motherboards, even those without DMI strings, when CONFIG_DMI=n. Signed-off-by: Alistair John Strachan Cc: Hans de Goede Signed-off-by: Jean Delvare --- Reading git-diff-tree failed