drm/nouveau/hwmon: Remove old code, add .write/.read operations
authorOscar Salvador <osalvador.vilardaga@gmail.com>
Thu, 18 May 2017 21:24:36 +0000 (23:24 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 16 Jun 2017 04:05:02 +0000 (14:05 +1000)
commitbfb96e4c344e312858f53c9cad22150389a76cba
tree7bf0d1ab48e266452b7b65262b5eb677cd0de8ea
parentdbddaaf083e255958eee9debb441fb49f3dfc0e9
drm/nouveau/hwmon: Remove old code, add .write/.read operations

This patch removes old code related to the old api and transforms the
functions for the new api. It also adds the .write and .read operations.

Signed-off-by: Oscar Salvador <osalvador.vilardaga@gmail.com>
Reviewed-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_hwmon.c