From: Dan Carpenter Date: Sat, 26 Feb 2011 12:54:57 +0000 (+0300) Subject: sony-laptop: return negative on failure in sony_nc_add() X-Git-Tag: v2.6.39-rc1~20^2^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7227dedbc22f66f1bd310c866053b08de0496e38;p=pandora-kernel.git sony-laptop: return negative on failure in sony_nc_add() There were two places in sony_nc_add() where we returned zero on failure instead of a negative error code. Signed-off-by: Dan Carpenter Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed