commit | be4c23c93c4828d36ac9e1a88410618a61676426 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben@simtec.co.uk> | Mon Nov 16 12:45:39 2009 +0100 |
committer | Jean Delvare <khali@linux-fr.org> | Mon Nov 16 12:45:39 2009 +0100 |
tree | 2da7bc33a0b6f8fcdd43117d26d30bb479c2db2c | |
parent | a9366e61b03f55a6e009e687ad10e706714c9907 [diff] |
hwmon: (s3c-hwmon) Ignore invalid divider settings Avoid registering channels that have zero divider settings in them, as this will only lead to kernel OOPS from divide-by-zero when the sysfs entry is read. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Jean Delvare <khali@linux-fr.org>