Searched refs:tty_groups (Results 1 – 2 of 2) sorted by relevance
2913 uport->tty_groups = kcalloc(num_groups, sizeof(*uport->tty_groups), in uart_add_one_port()2915 if (!uport->tty_groups) { in uart_add_one_port()2919 uport->tty_groups[0] = &tty_dev_attr_group; in uart_add_one_port()2921 uport->tty_groups[1] = uport->attr_group; in uart_add_one_port()2928 uport->line, uport->dev, port, uport->tty_groups); in uart_add_one_port()3009 kfree(uport->tty_groups); in uart_remove_one_port()
254 const struct attribute_group **tty_groups; /* all attributes (serial core use only) */ member