From: Alexey Khoroshilov Date: Fri, 19 Dec 2014 21:51:26 +0000 (+0300) Subject: staging: dgnc: implement proper error handling in dgnc_start() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~347 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7312aab230f975b8ec41c0055a17f0d395b7fb5;p=pandora-kernel.git staging: dgnc: implement proper error handling in dgnc_start() dgnc_start() ignores errors in class_create() and device_create() and it does not deallocate resources if dgnc_tty_preinit() fails. The patch implements proper error handling. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed