Searched refs:tty_groups (Results 1 – 2 of 2) sorted by relevance
3104 uport->tty_groups = kcalloc(num_groups, sizeof(*uport->tty_groups), in uart_add_one_port()3106 if (!uport->tty_groups) { in uart_add_one_port()3110 uport->tty_groups[0] = &tty_dev_attr_group; in uart_add_one_port()3112 uport->tty_groups[1] = uport->attr_group; in uart_add_one_port()3119 uport->line, uport->dev, port, uport->tty_groups); in uart_add_one_port()3200 kfree(uport->tty_groups); in uart_remove_one_port()
578 const struct attribute_group **tty_groups; /* all attributes (serial core use only) */ member