From: Devendra Naga Date: Wed, 19 Sep 2012 09:16:08 +0000 (-0400) Subject: staging: sbe-2t3e3: use -ve error return codes in dc_init_descriptor_list X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a00979cccb9cc9727b8357f8fdf1c1924c9b73ef;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed