Re: hid class and sysfs/hwmon

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jiri Slaby
Date: Saturday, November 8, 2008 - 2:51 pm

Adam Nielsen napsal(a):

I don't know much about hwmon, but I would guess you should use hwmon_dev
for registering the attributes if you want it under /sys/class/hwmon/...

Such as:
sysfs_create_group(&odin_psu->hwmon_dev->kobj, &odin_attr_group);

No?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
led and hid class - hid_device vs led_classdev, Adam Nielsen, (Tue Nov 4, 12:51 am)
Re: led and hid class - hid_device vs led_classdev, Jiri Slaby, (Tue Nov 4, 2:48 pm)
Re: hid class and sysfs/hwmon, Jiri Slaby, (Sat Nov 8, 7:16 am)
Re: hid class and sysfs/hwmon, Adam Nielsen, (Sat Nov 8, 2:45 pm)
Re: hid class and sysfs/hwmon, Jiri Slaby, (Sat Nov 8, 2:51 pm)
Re: hid class and sysfs/hwmon, Adam Nielsen, (Sat Nov 8, 3:02 pm)