android_kernel_xiaomi_sm8350/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
..
cpm_uart_core.c
cpm_uart_cpm1.c
cpm_uart_cpm1.h
cpm_uart_cpm2.c tty: cpm_uart: use resource_size() 2010-03-19 07:17:56 -07:00
cpm_uart_cpm2.h
cpm_uart.h
Makefile