Skip to content
Commit dbddaaf0 authored by Oscar Salvador's avatar Oscar Salvador Committed by Ben Skeggs
Browse files

drm/nouveau/hwmon: Add nouveau_hwmon_ops structure with .is_visible/.read_string



This patch introduces the nouveau_hwmon_ops structure, sets up
.is_visible and .read_string operations and adds all the functions
for these operations.
This is also a preparation for the next patches, where most of the
work is being done.
This code doesn't interacture with the old one.
It's just to make easier the review of all patches.

Signed-off-by: default avatarOscar Salvador <osalvador.vilardaga@gmail.com>
Reviewed-by: default avatarMartin Peres <martin.peres@free.fr>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 02e9722d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment