Searched refs:tty_groups (Results 1 – 2 of 2) sorted by relevance
3190 uport->tty_groups = kcalloc(num_groups, sizeof(*uport->tty_groups), in serial_core_add_one_port()3192 if (!uport->tty_groups) { in serial_core_add_one_port()3196 uport->tty_groups[0] = &tty_dev_attr_group; in serial_core_add_one_port()3198 uport->tty_groups[1] = uport->attr_group; in serial_core_add_one_port()3209 uport->tty_groups); in serial_core_add_one_port()3277 kfree(uport->tty_groups); in serial_core_remove_one_port()
586 const struct attribute_group **tty_groups; /* all attributes (serial core use only) */ member