summaryrefslogtreecommitdiff
path: root/drivers/input/evbug.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-24 14:42:33 (GMT)
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-25 19:07:29 (GMT)
commit79f5b2c7599270aa3dcfffb445f8f520c05a7fc5 (patch)
tree7136bcd85119075fc624f8a6d55ddb6ac2dc870e /drivers/input/evbug.c
parent8090c6b9daa04dda649ac0a2209601042abfb0a4 (diff)
downloadlinux-fsl-qoriq-79f5b2c7599270aa3dcfffb445f8f520c05a7fc5.tar.xz
drm/i915: make enable/disable_gt_powersave locking consistent
The enable functions grabbed dev->struct_mutex themselves, whereas the disable functions expected dev->struct_mutex to be held by the caller. Move the locking out to the (currently only) callsite of intel_enable_gt_powersave to make this more consistent. Originally this was prep work for future patches, but I've chased down a totally wrong alley. Still, I think this is a sensible clarification. Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/input/evbug.c')
0 files changed, 0 insertions, 0 deletions