]> git.ipfire.org Git - people/arne_f/kernel.git/commit
hwmon: (lm87) Use hwmon to create the sysfs groups
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Wed, 26 Oct 2016 16:56:59 +0000 (10:56 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 2 Dec 2016 21:28:08 +0000 (13:28 -0800)
commit00a0c905ab4b2b47372be8da6a8442dcd3681903
tree662aa396eab9adc838d2d3cf7c1d3ce2229c112e
parent2b3d0c19537c1bd0d493e302b7949460901ef489
hwmon: (lm87) Use hwmon to create the sysfs groups

This is the expected thing for a hwmon driver to do, this changes
the sysfs paths from, say:

  /sys/bus/i2c/devices/0-002c/temp1_input

to:

  /sys/bus/i2c/devices/0-002c/hwmon/hwmon0/temp1_input

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm87.c