diff options
author | Guenter Roeck <linux@roeck-us.net> | 2019-03-31 10:22:24 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-04-15 17:19:53 -0700 |
commit | 6bf2db4621fc1ac7a00bb7b770462211a5b7fdf9 (patch) | |
tree | 0f31dd0e0aa0332163716bfb95f9702eee2ca411 /drivers/hwmon/ina3221.c | |
parent | 4ec1d234a96659b881d9e2070978ec0a25668d44 (diff) | |
download | linux-6bf2db4621fc1ac7a00bb7b770462211a5b7fdf9.tar.gz |
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/ina3221.c')
0 files changed, 0 insertions, 0 deletions