fbdev: sh_mobile_hdmi: properly clean up modedb on monitor unplug
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 4 Nov 2010 11:05:55 +0000 (11:05 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 10 Nov 2010 07:53:12 +0000 (16:53 +0900)
commit91d63f8a306722dbf1b400d4afb11f69512977ad
tree42476b3fc65b4e3efbcb43f635c01c0894b352ba
parenta7bcf21e60c73cb7f7c13fad928967d7e47c3cac
fbdev: sh_mobile_hdmi: properly clean up modedb on monitor unplug

Even though this is not a problem currently, it is better to clear the freed
pointer and nullify the length of the freed memory.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sh_mobile_hdmi.c