Damian Hobson-Garcia 5ed0505c71 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" <hjk@hansjkoch.de>
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-29 09:08:22 -07:00
..
2012-11-21 13:41:35 -08:00
2012-11-21 13:41:35 -08:00
2012-11-21 13:41:35 -08:00
2012-11-21 13:41:35 -08:00
2012-11-15 17:29:07 -08:00
2012-12-12 12:05:15 -08:00
2012-11-21 13:41:35 -08:00