tty/serial: Relax the device_type restriction from of_serial
authorGrant Likely <grant.likely@secretlab.ca>
Wed, 23 Feb 2011 02:12:21 +0000 (19:12 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Feb 2011 18:02:16 +0000 (10:02 -0800)
commit8c6e9112ebc7ba5a782e986152c8e766dad1486f
tree409f6f4aba0b17073bd6f40f729748a7fd5d0226
parenta2e6093c638a9846cfe81b84ea9a0643f9540c1f
tty/serial: Relax the device_type restriction from of_serial

There is no need to test for a device_type property in ns8250
compatible serial ports.  device_type is an OpenFirmware property that
is not required when using the flattened tree representation.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/of_serial.c