Searched refs:tty_groups (Results 1 – 2 of 2) sorted by relevance
3140 uport->tty_groups = kcalloc(num_groups, sizeof(*uport->tty_groups), in serial_core_add_one_port()3142 if (!uport->tty_groups) { in serial_core_add_one_port()3146 uport->tty_groups[0] = &tty_dev_attr_group; in serial_core_add_one_port()3148 uport->tty_groups[1] = uport->attr_group; in serial_core_add_one_port()3155 uport->line, uport->dev, port, uport->tty_groups); in serial_core_add_one_port()3222 kfree(uport->tty_groups); in serial_core_remove_one_port()
582 const struct attribute_group **tty_groups; /* all attributes (serial core use only) */ member