Roel Kluin d969de8d83 serial: vt8500: add missing braces
Due to missing braces on an if statement, in presence of a device_node a
port was always assigned -1, regardless of any alias entries in the
device tree. Conversely, if device_node was NULL, an unitialized port
ended up being used.

This patch adds the missing braces, fixing the issues.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-16 13:22:16 -07:00
..
2013-03-18 16:17:20 -07:00
2013-01-15 22:30:15 -08:00
2013-09-06 13:26:27 -07:00
2013-09-06 13:26:27 -07:00
2013-07-31 17:56:15 -07:00
2013-07-31 17:56:15 -07:00
2013-03-18 16:26:33 -07:00
2013-03-18 16:26:33 -07:00
2013-01-15 22:30:15 -08:00
2013-07-31 17:56:15 -07:00
2013-01-15 22:30:15 -08:00
2013-09-13 15:09:52 +02:00
2013-07-29 12:47:37 -07:00
2013-07-31 17:56:15 -07:00
2013-07-31 17:56:15 -07:00
2013-01-15 22:30:15 -08:00
2013-08-12 11:10:16 -07:00
2013-08-12 11:35:31 -07:00
2013-07-31 17:56:15 -07:00
2013-07-31 17:56:15 -07:00
2013-01-15 22:30:15 -08:00
2013-07-31 17:56:15 -07:00
2013-07-02 13:43:38 -07:00
2013-01-15 22:30:15 -08:00