summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/jornada720_lcd.c
diff options
context:
space:
mode:
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>2013-03-26 10:31:22 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-29 09:08:22 -0700
commit5ed0505c713805f89473cdc0bbfb5110dfd840cb (patch)
tree05211aaf1a028936a314a3dcf3584f8cd6c98946 /drivers/video/backlight/jornada720_lcd.c
parent7f4f2302a11173d0ef84bbab4b887b9b50c31dc6 (diff)
downloadtalos-op-linux-5ed0505c713805f89473cdc0bbfb5110dfd840cb.tar.gz
talos-op-linux-5ed0505c713805f89473cdc0bbfb5110dfd840cb.zip
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>
Diffstat (limited to 'drivers/video/backlight/jornada720_lcd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud