Files
linux/drivers/staging
Devendra Naga a00979cccb staging: sbe-2t3e3: use -ve error return codes in dc_init_descriptor_list
the dc_init_descriptor_list actually returns a +ve error return codes,
which is abnormal as other functions in kernel return -ve error codes on
failure. so replace the return codes of this function with -ve values
to make the consistency with the other functions in kernel.

Also make the dc_init_descriptor_list static as its never called
anywhere except in this file and move the function prototype from the
headerfile into the c file as its referred only in this c file.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-21 08:57:56 -07:00
..
2012-09-16 17:17:25 -07:00
2012-09-13 20:20:28 -07:00
2012-07-06 16:08:57 -07:00
2012-09-16 17:17:25 -07:00
2012-09-16 17:17:25 -07:00
2012-09-16 17:17:25 -07:00
2012-07-16 19:24:46 -07:00
2012-09-16 17:17:25 -07:00
2012-09-16 17:17:25 -07:00
2012-07-09 11:35:00 -07:00