# Re: \[PATCH 0/9\] tty: tty\_struct dependency clean-ups

- From: Greg Kroah-Hartman \<gregkh@linuxfoundation.org\>
- Date: 2016-09-15 10:43:11 
- List: linux-serial
- Page: https://ratatoskr.run/linux-serial/2016/09/4836543
- Thread: https://ratatoskr.run/linux-serial/2016/09/4832942/t.md

```text
On Fri, Sep 09, 2016 at 05:37:01PM -0500, Rob Herring wrote:
> This patch series removes or prepares to remove some of the dependencies 
> on tty_struct within tty_port drivers. This will allow using tty_ports 
> directly for so called UART slave devices. 
> 
> The first patch fixes a regression from the last round with tty 
> closing. Patches 2-4 are mechanical conversions generated with 
> coccinelle. This is my first adventure into coccinelle, so hopefully I 
> didn't screw things up. :) Only serial_core has some of its tty_struct 
> dependencies removed as those are the drivers we immediately care about 
> supporting slave devices with.
> 
> Next up after this are moving some functions to the tty_port ops. I've 
> got some WIP patches for some of that, but nothing ready to send out 
> quite yet.

I've applied the first patch here, and wanted to apply patch 3, but it
depended on #2, so I'll wait for your next round of patches.

thanks,

greg k-h
```
