diff options
author | Hans de Goede | 2018-02-14 09:21:49 +0100 |
---|---|---|
committer | Rodrigo Vivi | 2018-02-14 11:41:47 -0800 |
commit | 7928e9bb09dc7f108a1a2b589ef1c7b86843569c (patch) | |
tree | ac9d1541d7741edf634628683688521f88bbf532 /drivers/firmware/qcom_scm-32.c | |
parent | 405cacc947f7b58969b2a8ab1568c2d98b245308 (diff) |
drm/i915: Add intel_bios_cleanup() function
Add an intel_bios_cleanup() function to act as counterpart of
intel_bios_init() and move the cleanup of vbt related resources there,
putting it in the same file as the allocation.
Changed in v2:
-While touching the code anyways, remove the unnecessary:
if (dev_priv->vbt.child_dev) done before kfree(dev_priv->vbt.child_dev)
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180214082151.25015-1-hdegoede@redhat.com
(cherry picked from commit 785f076b3ba781804f2b22b347b4431e3efb0ab3)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/firmware/qcom_scm-32.c')
0 files changed, 0 insertions, 0 deletions