]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (pcf8591) Register as a hwmon device
authorJean Delvare <khali@linux-fr.org>
Thu, 28 Oct 2010 18:31:49 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:49 +0000 (20:31 +0200)
commit8828046074b3a47b91fdb84c011c1391ead9e2f0
tree292e76b31cb801621ae578fde62c1a88b9c4bba5
parenta6fa81eb42f1000d7091361b06bb39e5dfb4fbca
hwmon: (pcf8591) Register as a hwmon device

Register PCF8591 devices as hwmon devices. There's little point in
implementing the standard sysfs interface if we don't register it in
a way libsensors will pick it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Reviewed-by: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
drivers/hwmon/pcf8591.c