commit | 6bf2db4621fc1ac7a00bb7b770462211a5b7fdf9 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sun Mar 31 10:22:24 2019 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Apr 15 17:19:53 2019 -0700 |
tree | 0f31dd0e0aa0332163716bfb95f9702eee2ca411 | |
parent | 4ec1d234a96659b881d9e2070978ec0a25668d44 [diff] |
hwmon: Documentation: Add usage example for HWMON_CHANNEL_INFO The new HWMON_CHANNEL_INFO macro simplifies the code, reduces the likelihood of errors, and makes the code easier to read. Add a usage example to help driver writers to actually use it. Signed-off-by: Guenter Roeck <linux@roeck-us.net>