<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/hwmon.h, branch v4.11.3</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.11.3</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.11.3'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2017-03-22T07:18:22Z</updated>
<entry>
<title>hwmon: Add missing HWMON_T_ALARM</title>
<updated>2017-03-22T07:18:22Z</updated>
<author>
<name>Peter Huewe</name>
<email>PeterHuewe@gmx.de</email>
</author>
<published>2017-03-16T23:28:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a5023a99393dab276069cd60dad3e61d57720fda'/>
<id>urn:sha1:a5023a99393dab276069cd60dad3e61d57720fda</id>
<content type='text'>
Unfortunately the HWMON_T_ALARM define was missing,
although the associated entry was present in hwmon_temp_attributes.
This is needed to convert drivers to the new interface which use channel
based alarms.

Signed-off-by: Peter Huewe &lt;peterhuewe@gmx.de&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Rename groups parameter in API to extra_groups</title>
<updated>2016-12-10T05:54:22Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-10-17T00:20:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=848ba0a2f20dc121a3ef5272a24641d2bd963d8b'/>
<id>urn:sha1:848ba0a2f20dc121a3ef5272a24641d2bd963d8b</id>
<content type='text'>
The 'groups' parameter of hwmon_device_register_with_info() and
devm_hwmon_device_register_with_info() is only necessary if extra
non-standard attributes need to be provided. Rename the parameter
to extra_groups and clarify the documentation.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Deprecate hwmon_device_register()</title>
<updated>2016-12-10T05:54:19Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-10-16T18:31:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=af1bd36c06b5fad33baa7ee16820226efbd96cd9'/>
<id>urn:sha1:af1bd36c06b5fad33baa7ee16820226efbd96cd9</id>
<content type='text'>
Inform the user that hwmon_device_register() is deprecated,
and suggest conversion to the newest API. Also remove
hwmon_device_register() from the kernel API documentation.

Note that hwmon_device_register() is not marked as __deprecated()
since doing so might result in build errors.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Add support for string attributes to new API</title>
<updated>2016-12-10T05:54:16Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-08-08T03:51:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e159ab5cb1afb519601a961405933c61cdd5a56a'/>
<id>urn:sha1:e159ab5cb1afb519601a961405933c61cdd5a56a</id>
<content type='text'>
The new API is so far only suited for data attributes and does not work
well for string attributes, specifically for the 'label' attributes.
Provide a separate callback function for those.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Clarify when read and write callbacks are mandatory</title>
<updated>2016-12-10T05:54:15Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-11-20T10:55:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f680b2845694a197e7bfc9f56b241f9a3f17296e'/>
<id>urn:sha1:f680b2845694a197e7bfc9f56b241f9a3f17296e</id>
<content type='text'>
The callback descrption in hwmon.h was misleading and stated that read and
write callbacks would be optional. More accurate is is that the callbacks
are mandatory if readable / writeable attributes are present.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Add basic pwm attribute support to new API</title>
<updated>2016-09-09T04:34:15Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-06-26T19:20:46Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f9f7bb3a0efafb662a4c639bc62df1df2b7321f9'/>
<id>urn:sha1:f9f7bb3a0efafb662a4c639bc62df1df2b7321f9</id>
<content type='text'>
Add basic pwm attribute support (no auto attributes) to new API.

Reviewed-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Add fan attribute support to new API</title>
<updated>2016-09-09T04:34:15Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-06-26T02:52:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8faee73f92cd4dd4928e6860001315a0cc834c99'/>
<id>urn:sha1:8faee73f92cd4dd4928e6860001315a0cc834c99</id>
<content type='text'>
Acked-by: Punit Agrawal &lt;punit.agrawal@arm.com&gt;
Reviewed-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Add energy and humidity attribute support to new API</title>
<updated>2016-09-09T04:34:15Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-06-20T18:38:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6bfcca44a6e7b0a6d92eab39c4cb830516b9568c'/>
<id>urn:sha1:6bfcca44a6e7b0a6d92eab39c4cb830516b9568c</id>
<content type='text'>
Acked-by: Punit Agrawal &lt;punit.agrawal@arm.com&gt;
Reviewed-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Add power attribute support to new API</title>
<updated>2016-09-09T04:34:15Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-06-20T18:27:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b308f5c744522de020da4706718de9076adeada7'/>
<id>urn:sha1:b308f5c744522de020da4706718de9076adeada7</id>
<content type='text'>
Acked-by: Punit Agrawal &lt;punit.agrawal@arm.com&gt;
Reviewed-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Add current attribute support to new API</title>
<updated>2016-09-09T04:34:15Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-06-20T18:10:33Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9b26947ce5b6a6d5f260d9564195e8971cc9713d'/>
<id>urn:sha1:9b26947ce5b6a6d5f260d9564195e8971cc9713d</id>
<content type='text'>
Acked-by: Punit Agrawal &lt;punit.agrawal@arm.com&gt;
Reviewed-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
</feed>
