linux_old1/drivers/serial/cpm_uart
Tobias Klauser 2314436658 tty: cpm_uart: use resource_size()
Use the resource_size function instead of manually calculating the
resource size.  This reduces the chance of introducing off-by-one errors.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Kumar Gala <galak@gate.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-19 07:17:56 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpm_uart.h cpm_uart: Add generic clock API support to set baudrates 2008-07-28 08:47:32 -05:00
cpm_uart_core.c Fix build of cpm_uart due to core changes 2009-09-24 17:01:22 +10:00
cpm_uart_cpm1.c cpm_uart: Pass actual dev ptr to dma_* in ucc and cpm_uart serial 2008-09-19 13:34:04 -05:00
cpm_uart_cpm1.h cpm_uart: Remove !CONFIG_PPC_CPM_NEW_BINDING code 2008-06-26 01:49:04 -05:00
cpm_uart_cpm2.c tty: cpm_uart: use resource_size() 2010-03-19 07:17:56 -07:00
cpm_uart_cpm2.h cpm_uart: Remove !CONFIG_PPC_CPM_NEW_BINDING code 2008-06-26 01:49:04 -05:00