drm/nouveau/hwmon: use simplified HWMON_CHANNEL_INFO macro
authorBeniamin Sandu <beniaminsandu@gmail.com>
Mon, 15 Aug 2022 10:40:28 +0000 (13:40 +0300)
committerLyude Paul <lyude@redhat.com>
Tue, 23 Aug 2022 02:50:57 +0000 (22:50 -0400)
commit008973fcbce429a2b0929108b6f9495d885bb1a3
tree0142a2cd5ead0ca8a008c46064f8b408ccdc5703
parentee50b00244086453dfb7076e4b80214948cd0507
drm/nouveau/hwmon: use simplified HWMON_CHANNEL_INFO macro

This makes the code look cleaner and easier to read.

Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220815104028.381271-1-beniaminsandu@gmail.com
drivers/gpu/drm/nouveau/nouveau_hwmon.c