<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/hwmon, branch automarkup</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=automarkup</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=automarkup'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2019-02-25T17:06:00+00:00</updated>
<entry>
<title>hwmon: (ad7418) Add device tree probing</title>
<updated>2019-02-25T17:06:00+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2019-01-28T21:06:37+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=f4c2965e425ab0adba63d9dcf5351e955fc95b60'/>
<id>urn:sha1:f4c2965e425ab0adba63d9dcf5351e955fc95b60</id>
<content type='text'>
This adds device tree probing for the AD7418 hwmon sensor.
When device tree is not enabled, stub functions will kick
in.

Tested on the Gateway Cambria GW2358-4.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
[groeck: Added missing {} to terminate ad7418_dt_ids]
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ntc_thermistor) Convert to new hwmon API</title>
<updated>2019-02-23T17:04:47+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2019-02-12T17:55:16+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=7cc7de93fad46623e2600f74988c715d568e5ad8'/>
<id>urn:sha1:7cc7de93fad46623e2600f74988c715d568e5ad8</id>
<content type='text'>
Use devm_hwmon_device_register_with_info() instead of
devm_hwmon_device_register_with_groups() to register the hwmon
device to simplify the code and make it easier to maintain.
As part of this change, thermal device registration is moved into
the hwmon core.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (pwm-fan) Add optional regulator support</title>
<updated>2019-02-23T17:02:23+00:00</updated>
<author>
<name>Stefan Wahren</name>
<email>stefan.wahren@i2se.com</email>
</author>
<published>2019-02-22T13:45:24+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b57e1d429397217870595c80219b825d7a6db0c6'/>
<id>urn:sha1:b57e1d429397217870595c80219b825d7a6db0c6</id>
<content type='text'>
This adds optional regulator support to the pwm-fan driver. This is
necessary for pwm fans which are powered by a switchable supply.

Signed-off-by: Stefan Wahren &lt;stefan.wahren@i2se.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (f71882fg) Mark expected switch fall-through</title>
<updated>2019-02-18T22:23:29+00:00</updated>
<author>
<name>Gustavo A. R. Silva</name>
<email>gustavo@embeddedor.com</email>
</author>
<published>2019-02-11T22:07:38+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=e4e6c0b0ad79c077c6894b82edf9d7e214ccdf16'/>
<id>urn:sha1:e4e6c0b0ad79c077c6894b82edf9d7e214ccdf16</id>
<content type='text'>
In preparation to enabling -Wimplicit-fallthrough, mark switch
cases where we are expecting to fall through.

This patch fixes the following warnings:

drivers/hwmon/f71882fg.c: In function ‘f71882fg_probe’:
drivers/hwmon/f71882fg.c:2457:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
    data-&gt;auto_point_temp_signed = 1;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
drivers/hwmon/f71882fg.c:2459:3: note: here
   case f71889fg:
   ^~~~

Warning level 3 was used: -Wimplicit-fallthrough=3

Notice that, in this particular case, the code comment is modified
in accordance with what GCC is expecting to find.

This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.

Signed-off-by: Gustavo A. R. Silva &lt;gustavo@embeddedor.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ad7418) Catch I2C errors</title>
<updated>2019-02-18T22:23:29+00:00</updated>
<author>
<name>Brandon Maier</name>
<email>brandon.maier@rockwellcollins.com</email>
</author>
<published>2019-02-07T21:50:36+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=45034e48276c310bf4d4c7d7110169756d4a6265'/>
<id>urn:sha1:45034e48276c310bf4d4c7d7110169756d4a6265</id>
<content type='text'>
If there is an i2c failure, the ad7416 reports its temperature as 0C.
Return an error code so users can properly detect errors.

Signed-off-by: Brandon Maier &lt;brandon.maier@rockwellcollins.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm85) add support for LM96000 high frequencies</title>
<updated>2019-02-18T22:23:29+00:00</updated>
<author>
<name>Jeremy Gebben</name>
<email>jgebben@sweptlaser.com</email>
</author>
<published>2019-02-04T20:19:06+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=e9b95485c12c31e07dbb1694e794f18565144099'/>
<id>urn:sha1:e9b95485c12c31e07dbb1694e794f18565144099</id>
<content type='text'>
The LM96000 expands the freqency field from 3 to 4 bits, to
add more frequencies in the 22.5 to 30 kHz ranges.

Signed-off-by: Jeremy Gebben &lt;jgebben@sweptlaser.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm85) support the LM96000</title>
<updated>2019-02-18T22:23:29+00:00</updated>
<author>
<name>Jeremy Gebben</name>
<email>jgebben@sweptlaser.com</email>
</author>
<published>2019-02-04T20:19:05+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=11650cf02e79c2ec9023c1d25eb47d0c3acac3f2'/>
<id>urn:sha1:11650cf02e79c2ec9023c1d25eb47d0c3acac3f2</id>
<content type='text'>
It has been supported as a generic lm85 for quite some time.

Signed-off-by: Jeremy Gebben &lt;jgebben@sweptlaser.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm85) remove freq_map size hardcodes</title>
<updated>2019-02-18T22:23:29+00:00</updated>
<author>
<name>Jeremy Gebben</name>
<email>jgebben@sweptlaser.com</email>
</author>
<published>2019-02-04T20:19:03+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=57bc30196448e7db360db61da391140d4b69bb62'/>
<id>urn:sha1:57bc30196448e7db360db61da391140d4b69bb62</id>
<content type='text'>
Allow support for chips that support more than 8 frequencies.

Signed-off-by: Jeremy Gebben &lt;jgebben@sweptlaser.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (occ) Fix license headers</title>
<updated>2019-02-18T22:23:29+00:00</updated>
<author>
<name>Eddie James</name>
<email>eajames@linux.ibm.com</email>
</author>
<published>2019-01-28T16:23:23+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=e2f05d608653cb212edea136ad82107c6be56e1d'/>
<id>urn:sha1:e2f05d608653cb212edea136ad82107c6be56e1d</id>
<content type='text'>
Files have inconsistent license information.

Signed-off-by: Eddie James &lt;eajames@linux.ibm.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (via-cputemp) Use permission specific SENSOR[_DEVICE]_ATTR variants</title>
<updated>2019-02-18T22:23:29+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2018-12-10T22:02:23+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=f74c24f866f8f1cc5de62dbafd8f18cd72aee1e4'/>
<id>urn:sha1:f74c24f866f8f1cc5de62dbafd8f18cd72aee1e4</id>
<content type='text'>
Use SENSOR[_DEVICE]_ATTR[_2]_{RO,RW,WO} to simplify the source code,
to improve readability, and to reduce the chance of inconsistencies.

Also replace any remaining S_&lt;PERMS&gt; in the driver with octal values.

The conversion was done automatically with coccinelle. The semantic patches
and the scripts used to generate this commit log are available at
https://github.com/groeck/coccinelle-patches/hwmon/.

This patch does not introduce functional changes. It was verified by
compiling the old and new files and comparing text and data sizes.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
</feed>
