From: Jean Delvare Date: Wed, 16 Dec 2009 20:38:27 +0000 (+0100) Subject: hwmon: (smsc47m1) Enable device if needed X-Git-Tag: v2.6.33-rc1~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa0bff02239abdad446effef22e5db281cf3d562;p=pandora-kernel.git hwmon: (smsc47m1) Enable device if needed If the address is set but the device isn't enabled, attempt to enable it. If it won't work for any reason (resource conflict, no function enabled) the initial state is restored. The initial state is also restored on module unloading. Signed-off-by: Jean Delvare Tested-by: Sean Fidler --- Reading git-diff-tree failed