get rid of old cruft: remove args argument from the modules' init() routines

This commit is contained in:
marschap
2005-07-02 13:38:51 +00:00
parent 32545c99a2
commit 0ec83bdc66
63 changed files with 77 additions and 84 deletions
+2 -2
View File
@@ -211,7 +211,7 @@ int iowled_on_off(usb_dev_handle *udh,int type, unsigned int pattern)
/*****************************************************
* API: Open USB device and initialize it ...
*/
int IOWarrior_init(Driver *drvthis, char *args)
int IOWarrior_init(Driver *drvthis)
{
char serial[LCD_MAX_WIDTH+1] = DEFAULT_SERIALNO;
char size[LCD_MAX_WIDTH+1] = DEFAULT_SIZE;
@@ -238,7 +238,7 @@ PrivateData *p;
p->backlight = DEFAULT_BACKLIGHT;
debug(RPT_INFO, "IOWarrior: init(%p,%s)", drvthis, args);
debug(RPT_INFO, "IOWarrior: init(%p)", drvthis);
/* Read config file */