From: Aaro Koskinen Date: Mon, 29 Jul 2013 17:07:47 +0000 (+0300) Subject: staging: octeon-usb: cvmx-usb: utilize Linux error codes X-Git-Tag: v3.12-rc1~183^2~469 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d658cb2abe8560e047c57f0f68ac5162b917ddb;p=pandora-kernel.git staging: octeon-usb: cvmx-usb: utilize Linux error codes Use generic Linux error codes to replace cvmx_usb_status_t. The conversion table: Before After cvmx_usb_status_t int CVMX_USB_SUCCESS 0 CVMX_USB_INVALID_PARAM -EINVAL CVMX_USB_NO_MEMORY -ENOMEM CVMX_USB_BUSY -EBUSY CVMX_USB_TIMEOUT -ETIMEDOUT CVMX_USB_INCORRECT_MODE Deleted (was never used) Signed-off-by: Aaro Koskinen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed