commit | 6bb24aa12a8ca20c2803a8c3fb3c7fc2c3bd79e7 | [log] [tgz] |
---|---|---|
author | Brendan Jackman <brendan.jackman@arm.com> | Thu Sep 21 13:30:33 2017 +0100 |
committer | Brendan Jackman <brendan.jackman@arm.com> | Thu Sep 21 13:31:59 2017 +0100 |
tree | 19573dc2cea8016e1e61d0afc0238848e744b821 | |
parent | 25ad53feff50ea8b81072e2601f1adc22e5ffd5e [diff] |
hwmon: Disable if no permissions If we don't have permissions, scan() currently raises a TargetError. Instead we should return False from probe() so the module is disabled