drm/nouveau/clk: make therm and volt devices optional
authorAlexandre Courbot <acourbot@nvidia.com>
Sat, 26 Jul 2014 09:41:39 +0000 (18:41 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Sat, 9 Aug 2014 19:12:46 +0000 (05:12 +1000)
commit2cfd22f4730d5e759a313729b92a72bcc12c41cb
treec99fea7d0b6f04b53f04fda5686874cfd68f0bd2
parentcbb4cf8bdffd943fa7cff724232b57b0e6891095
drm/nouveau/clk: make therm and volt devices optional

Allow the clock subsystem to operate even if voltage and thermal devices
are not set for the device (for people with watercooling! ;))

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/clock/base.c