From: Tobias Klauser Date: Thu, 11 Mar 2010 22:08:18 +0000 (-0800) Subject: tty: cpm_uart: use resource_size() X-Git-Tag: v2.6.34-rc2~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=231443665882a02214c3748b9f86615a3ce9e5c2;p=pandora-kernel.git 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 Cc: Alan Cox Cc: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed