From: Fabian Godehardt Date: Thu, 1 Sep 2011 12:15:46 +0000 (+0200) Subject: USB: g_printer: fix bug in unregistration X-Git-Tag: v3.2-rc1~183^2~156 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8582d86143c690c68cc42f996def466a035bee34;p=pandora-kernel.git USB: g_printer: fix bug in unregistration The allocated chardevice region range is only 1 device but on unregister it currently tries to deregister 2. Found this while doing a insmod/rmmod/insmod/rm... of the module which seemed to eat major numbers. Signed-off-by: Fabian Godehardt Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed