serial: 8250_omap: Drop check for of_node
authorVignesh R <vigneshr@ti.com>
Wed, 9 Jan 2019 09:12:04 +0000 (14:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2019 10:23:00 +0000 (11:23 +0100)
commitd6ce4ec0b81627f813b9cd5316a8191a6fe111e2
tree98c0d59021c8c6366027e3dc3c10e49c9f04b6dd
parentc24177b4a020b23f5ded65a54e3d93c4d268a15f
serial: 8250_omap: Drop check for of_node

8250_omap is DT only driver so dev->of_node always exists. Drop check
for existence of valid dev->of_node to simplify omap8250_probe().

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c