drm/i915/opregion: move acpi notifier to dev_priv
authorJani Nikula <jani.nikula@intel.com>
Wed, 13 Jun 2018 11:39:27 +0000 (14:39 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 14 Jun 2018 10:48:10 +0000 (13:48 +0300)
commit2e932b9cdecebe3f41eaa86f8cec15c42fc62d41
treed35e4307b8013bea3a61d1974c7f4fe86fee5dac
parent6ebb6d8ebe56135b06b1427ecaa712580b878ea2
drm/i915/opregion: move acpi notifier to dev_priv

Get rid of the silly static variable.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180613113927.30033-1-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_opregion.c
drivers/gpu/drm/i915/intel_opregion.h