Skip to content
Commit fa0bff02 authored by Jean Delvare's avatar Jean Delvare
Browse files

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: default avatarJean Delvare <khali@linux-fr.org>
Tested-by: default avatarSean Fidler <fidlersean@gmail.com>
parent 3ecf44b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment