summaryrefslogtreecommitdiffstats
path: root/include/linux/spinlock_api_up.h
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-11-16 12:45:39 +0100
committerJean Delvare <khali@linux-fr.org>2009-11-16 12:45:39 +0100
commitbe4c23c93c4828d36ac9e1a88410618a61676426 (patch)
tree2da7bc33a0b6f8fcdd43117d26d30bb479c2db2c /include/linux/spinlock_api_up.h
parenta9366e61b03f55a6e009e687ad10e706714c9907 (diff)
downloadtalos-op-linux-be4c23c93c4828d36ac9e1a88410618a61676426.tar.gz
talos-op-linux-be4c23c93c4828d36ac9e1a88410618a61676426.zip
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>
Diffstat (limited to 'include/linux/spinlock_api_up.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud