From: H Hartley Sweeten Date: Mon, 3 Feb 2014 17:43:27 +0000 (-0700) Subject: staging: comedi: amplc_pci230: standardize error handling of subdev_8255_init() X-Git-Tag: v3.15-rc1~139^2~1209 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce921ae41919d033b4cd1d639f2a5f42dd41e802;p=pandora-kernel.git staging: comedi: amplc_pci230: standardize error handling of subdev_8255_init() The subdev_8255_init() call returns 0 for success of a negative errno for failure. For aesthetics, change the error test in this driver from (rc < 0) to simply (rc) to follow the style of the other users of this function. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed