Archit Taneja aec9e12953 drm/mgag200: Fix error handling paths in fbdev driver
Set up error handling in mgag200_fbdev_init and mgag200fb_create such that
they release the things they allocate, rather than relying on someone
calling mga_fbdev_destroy.

Based on a patch by Sudip Mukherjee <sudipm.mukherjee@gmail.com>

Link: http://lkml.kernel.org/r/55F6E68D.8070800@codeaurora.org
Reported-by: Ingo Molnar <mingo@kernel.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Dave Airlie <airlied@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: dri-devel <dri-devel@lists.freedesktop.org>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2015-09-24 08:10:41 +10:00
..
2015-08-24 16:36:42 +10:00
2015-09-11 16:42:39 -07:00
2015-09-16 16:53:38 +02:00
2015-08-17 15:52:39 +10:00
2015-08-17 14:13:53 +10:00
2015-08-07 14:46:24 +02:00
2015-08-17 14:13:53 +10:00
2015-08-24 16:36:42 +10:00
2015-03-13 17:37:35 +01:00
2015-08-17 14:13:53 +10:00
2015-05-29 09:17:57 +10:00
2015-07-22 16:25:45 +02:00
2015-03-13 17:37:35 +01:00
2015-03-13 17:37:35 +01:00