From: Imre Deak Date: Tue, 4 Mar 2014 17:22:51 +0000 (+0200) Subject: drm/i915: fold in __intel_power_well_get/put functions X-Git-Tag: v3.15-rc1~51^2~55^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70bf407c8deb5d2e26468a99f1af19a166bb89e7;p=pandora-kernel.git drm/i915: fold in __intel_power_well_get/put functions These functions are used only by a single call site and are simple enough to just fold them in. Note that in later patches the parts folded in here are further simplified as we'll remove hsw_{disable,enable}_package_c8 and the NULL check of the power well enable/disable handlers. All this means that at the end intel_display_power_get/put() becomes more understandable as we don't need to jump between two functions when reading the code. No functional change. v2: - clarify the rational for the change (Chris) Signed-off-by: Imre Deak Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed