diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-02-03 21:43:27 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 22:49:19 +0400 |
| commit | ce921ae41919d033b4cd1d639f2a5f42dd41e802 (patch) | |
| tree | 583c509a4ca84c847b12675437b72f0990c54bfe /include/linux/kernel.h | |
| parent | 46828a56f24a9121a4a3de33e1985fc4532c017c (diff) | |
| download | linux-ce921ae41919d033b4cd1d639f2a5f42dd41e802.tar.xz | |
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 <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions
