Re: [PATCH 1/4] Revert "tty_port: register tty ports with serdev bus"

2017-04-12 Thread Johan Hovold
On Tue, Apr 11, 2017 at 08:53:32PM -0500, Rob Herring wrote: > On Tue, Apr 11, 2017 at 12:07 PM, Johan Hovold wrote: > > This reverts commit 8ee3fde047589dc9c201251f07d0ca1dc776feca. > > > > The new serdev bus hooked into the tty layer in > > tty_port_register_device() by registering a serdev cont

[PATCH 1/4] Revert "tty_port: register tty ports with serdev bus"

2017-04-11 Thread Johan Hovold
This reverts commit 8ee3fde047589dc9c201251f07d0ca1dc776feca. The new serdev bus hooked into the tty layer in tty_port_register_device() by registering a serdev controller instead of a tty device whenever a serdev client is present, and by deregistering the controller in the tty-port destructor. T