drm/i915: Free memdup-ed DSI VBT data structures on driver_unload
authorHans de Goede <j.w.r.degoede@gmail.com>
Wed, 14 Feb 2018 08:21:50 +0000 (09:21 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Feb 2018 10:38:11 +0000 (11:38 +0100)
commite1b86c85f6c2029c31dba99823b6f3d9e15eaacd
tree0a7bfa02860cf19136765c6cc5e042282aa0d59a
parent785f076b3ba781804f2b22b347b4431e3efb0ab3
drm/i915: Free memdup-ed DSI VBT data structures on driver_unload

Make intel_bios_cleanup function free the DSI VBT data structures which
are memdup-ed by parse_mipi_config() and parse_mipi_sequence().

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-2-hdegoede@redhat.com
drivers/gpu/drm/i915/intel_bios.c