{
char *t = str;
- while(*t != '\0') {
+ while (*t != '\0') {
if (*t == '\r' ||
*t == '\n' ||
*t == '\x0a')
if (!config->funcs)
goto free_strs;
- /*
+ /*
* We cannot read correct values
* so assume that they are always default
*/
/*
* TODO
* Here is a good place to ensure that serial is immutable
- */
+ */
if (strs->manufacturer) {
ret = sys_set_str(LEGACY_IMANUFACTURER_PATH,
static int legacy_disable(struct usb_client *usb)
{
return sys_set_str(LEGACY_ENABLE_PATH,
- LEGACY_DISABLE);
+ LEGACY_DISABLE);
}
static void legacy_free_config(struct usb_configuration *config)