userspace regression with hwmon

2017-06-26 Thread Sudip Mukherjee
Hi Guenter, Jean, The patch d72d19c26c41 ("hwmon: (coretemp) Convert to use devm_hwmon_device_register_with_groups") has changed the location of the sysfs nodes from /sys/devices/platform/coretemp.0/ to /sys/devices/platform/coretemp.0/hwmon/hwmon0/ and that has broken some of our usespace applica

Re: userspace regression with hwmon

2017-06-26 Thread Guenter Roeck
On Mon, Jun 26, 2017 at 03:33:20PM +0100, Sudip Mukherjee wrote: > Hi Guenter, Jean, > > The patch d72d19c26c41 ("hwmon: (coretemp) Convert to use > devm_hwmon_device_register_with_groups") has changed the location of the > sysfs nodes from /sys/devices/platform/coretemp.0/ to > /sys/devices/platf

Re: userspace regression with hwmon

2017-06-27 Thread Sudip Mukherjee
On Mon, Jun 26, 2017 at 10:06:11AM -0700, Guenter Roeck wrote: > On Mon, Jun 26, 2017 at 03:33:20PM +0100, Sudip Mukherjee wrote: > > Hi Guenter, Jean, > > > > The patch d72d19c26c41 ("hwmon: (coretemp) Convert to use > > devm_hwmon_device_register_with_groups") has changed the location of the > >

Re: userspace regression with hwmon

2017-06-27 Thread Guenter Roeck
On 06/27/2017 05:23 AM, Sudip Mukherjee wrote: On Mon, Jun 26, 2017 at 10:06:11AM -0700, Guenter Roeck wrote: On Mon, Jun 26, 2017 at 03:33:20PM +0100, Sudip Mukherjee wrote: Hi Guenter, Jean, The patch d72d19c26c41 ("hwmon: (coretemp) Convert to use devm_hwmon_device_register_with_groups") ha

Re: userspace regression with hwmon

2017-06-27 Thread Jean Delvare
On Tue, 27 Jun 2017 05:52:39 -0700, Guenter Roeck wrote: > On 06/27/2017 05:23 AM, Sudip Mukherjee wrote: > > Well, using the raw platform device path was a bad design decision. > > But I still see a difference. In v3.8 all the temp* nodes were in > > /sys/class/hwmon/hwmon0/device/ but in v4.4 I c