video/fbdev/dnfb: Use common error handling code in dnfb_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 9 Nov 2017 17:09:31 +0000 (18:09 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 9 Nov 2017 17:09:31 +0000 (18:09 +0100)
commit6b04e9f2564a609cfaebae1ff9556118f3ae0a2e
treecae07b53a8ed056cbcde1c5a4181fbdf504c408f
parentffb66624caa4db72e3a00aba8d27862395173b20
video/fbdev/dnfb: Use common error handling code in dnfb_probe()

Add a jump target so that a bit of exception handling can be better reused
at the end of this function.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/dnfb.c