summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2017-11-09 20:09:29 +0300
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-11-09 20:09:29 +0300
commit6bbbb6805a72bd8c3e9ee626add6b6e8527bb971 (patch)
tree7d2313f1b94d8f82db294b0b66bce32c3bd8011f /drivers/misc
parent703a4af427a9bf3028f1a9369fcec7bfcf56f0ed (diff)
downloadlinux-6bbbb6805a72bd8c3e9ee626add6b6e8527bb971.tar.xz
video: fbdev: au1200fb: Fix error handling path
Rewrite the exit path based on 'au1200fb_drv_remove()'. We can safely iterate for all already handled planes. Even if not completely initialized, the functions that are called will silently accept the 'fb_info' structure that is passed. As soon as we find a NULL in the '_au1200fb_infos' array, we know that we have released all what we needed to release. So we can 'break'. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions