From: Sudip Mukherjee Date: Fri, 27 Mar 2015 09:56:09 +0000 (+0530) Subject: staging: unisys: unregister chardev on error X-Git-Tag: omap-for-v4.2/o2_dc~155^2~57 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bdb610142fc0433077e24bb36f90e7c52bcaded;p=pandora-kernel.git staging: unisys: unregister chardev on error after registering the major numbers if the cdev_add fails then we were not releasing the major numbers. now we are doing that. Signed-off-by: Sudip Mukherjee Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed