Skip to content
Commit 00a0c905 authored by Jason Gunthorpe's avatar Jason Gunthorpe Committed by Guenter Roeck
Browse files

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: default avatarJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 2b3d0c19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment