tty/serial: change of_serial to use new of_property_read_u32() api
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 30 Jun 2011 18:39:12 +0000 (12:39 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 4 Jul 2011 06:44:09 +0000 (00:44 -0600)
commitb84e773119e1401e6ebd8906fb0b2a43bbe64871
treeeaa157c0dd97d18d17b933e58912fd1dcd3a717b
parentf09bc831b7693f93ecb95dea7180d55b45b88e76
tty/serial: change of_serial to use new of_property_read_u32() api

Simplifies the code a bit and drops a few lines.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Arnd Bergmann <arnd@arndb.de>
drivers/tty/serial/of_serial.c