diff options
author | Guenter Roeck <linux@roeck-us.net> | 2019-03-31 20:22:24 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-04-16 03:19:53 +0300 |
commit | 6bf2db4621fc1ac7a00bb7b770462211a5b7fdf9 (patch) | |
tree | 0f31dd0e0aa0332163716bfb95f9702eee2ca411 /drivers/hwmon/adt7411.c | |
parent | 4ec1d234a96659b881d9e2070978ec0a25668d44 (diff) | |
download | linux-6bf2db4621fc1ac7a00bb7b770462211a5b7fdf9.tar.xz |
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>
Diffstat (limited to 'drivers/hwmon/adt7411.c')
0 files changed, 0 insertions, 0 deletions