ARM: OMAP2+: UART: remove temporary variable used to count uart instance
authorGovindraj.R <govindraj.raja@ti.com>
Tue, 18 Oct 2011 11:02:14 +0000 (16:32 +0530)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Dec 2011 00:05:25 +0000 (16:05 -0800)
commit969996a57fd2345a1141280dddcf9e10fa5f6690
tree90ed7a70a052b4104c9811fc4d192f878cf2908d
parenta9e210e0b7a344c0e44aa6bf6888176bbc635c42
ARM: OMAP2+: UART: remove temporary variable used to count uart instance

Reuse the num_uarts variable itself to count number of uarts.

Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/serial.c