Update drivers to return 0 (zero) on success.

This commit is contained in:
mmdolze
2009-07-07 21:36:37 +00:00
parent 2e31f1b769
commit e33ba1b41b
21 changed files with 23 additions and 25 deletions
+3 -5
View File
@@ -110,13 +110,11 @@ typedef struct imon_private_data {
} PrivateData;
/**
* driver initialization
*/
/**
* Initialize the driver.
* \param drvthis Pointer to driver structure.
* \return Information of success (1) or failure (< 0).
* \retval 0 Success.
* \retval <0 Error.
*/
MODULE_EXPORT int imon_init (Driver *drvthis)
{
@@ -178,7 +176,7 @@ MODULE_EXPORT int imon_init (Driver *drvthis)
report(RPT_DEBUG, "%s: init() done", drvthis->name);
return 1;
return 0;
}