hwmon: (tmp421) introduce a channel struct
authorKrzysztof Adamski <krzysztof.adamski@nokia.com>
Tue, 12 Oct 2021 09:26:55 +0000 (11:26 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 12 Oct 2021 14:25:34 +0000 (07:25 -0700)
commit5e3dbeac3795d60d9dc182abe6d0130a2a00142c
tree714e58f65be00c22e8379aee04cb7b6104715543
parentbeee7890c36320fe08d9cce82afa1db848360bfb
hwmon: (tmp421) introduce a channel struct

This is a preparatory change. Upcoming patches will introduce more
per-channel parameters so it's worth organizing them into a struct.

Signed-off-by: Krzysztof Adamski <krzysztof.adamski@nokia.com>
Link: https://lore.kernel.org/r/baf34d95983a6b58a3e39e4c098e5979e541572e.1634029538.git.krzysztof.adamski@nokia.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/tmp421.c