Revert "serial: uartps: Use the same dynamic major number for all ports"
authorMichal Simek <michal.simek@xilinx.com>
Fri, 3 Apr 2020 09:24:31 +0000 (11:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Apr 2020 14:33:24 +0000 (16:33 +0200)
commit6fcbf58b115c577eedafbd5c30e7d55404b52cae
tree7d93882b58db8926bceb3c834e67e4908cfdae72
parent1bb43b4d8c32c6d2ffc005206a83b8df04314f42
Revert "serial: uartps: Use the same dynamic major number for all ports"

commit 8da1a3940da4b0e82848ec29b835486890bc9232 upstream.

This reverts commit ab262666018de6f4e206b021386b93ed0c164316.

As Johan says, this driver needs a lot more work and these changes are
only going in the wrong direction:
  https://lkml.kernel.org/r/20190523091839.GC568@localhost

Reported-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/14a565fc1e14a5ec6cc6a6710deb878ae8305f22.1585905873.git.michal.simek@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c