From: Damian Hobson-Garcia Date: Tue, 26 Mar 2013 01:31:22 +0000 (+0900) Subject: drivers: uio: Fix UIO device registration failure X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~139^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ed0505c713805f89473cdc0bbfb5110dfd840cb;p=pandora-kernel.git drivers: uio: Fix UIO device registration failure Until recently uio_get_minor() returned 0 for success and a negative value on failure. This became non-negative for suceess and negative for failure. Restore the original return value spec so that we can successfully initialize UIO devices with a non-zero minor device number. Cc: "Hans J. Koch" Signed-off-by: Damian Hobson-Garcia Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed