drm/i915: Sanitize i915_get_bridge_dev() error path
authorImre Deak <imre.deak@intel.com>
Tue, 19 Jan 2016 13:26:27 +0000 (15:26 +0200)
committerImre Deak <imre.deak@intel.com>
Wed, 27 Jan 2016 15:43:14 +0000 (17:43 +0200)
commit02036cee8373712d154a7cac76e1325f93fce9e5
tree2ec2976397f9e363bd0afb9c2da1eacfe9c374f3
parent89250fec1c2b7846cd994e91d8dd7398e67ae129
drm/i915: Sanitize i915_get_bridge_dev() error path

Clarify the name of the label on the error path, making it clear what's
being cleaned up. The kmem_cache_destroy() calls are NOPs on the
corresponding error path.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: David Weinehall <david.weinehall@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1453209992-25995-3-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_dma.c