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: NJean Delvare <khali@linux-fr.org> Tested-by: NSean Fidler <fidlersean@gmail.com>
Showing
想要评论请 注册 或 登录