commit | 3c86c07baaa22e1ebae1922b5285f79a39e93d83 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Thu Apr 14 21:09:16 2011 +0900 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Apr 29 17:24:37 2011 -0700 |
tree | 72d3e20ce125a30cd864be0fa54aaeb773b068a1 | |
parent | e7f84331c21408fecc872aaabc41c7b97fe15ae4 [diff] |
USB: ohci-s3c2410: use resource_size() This patch uses the resource_size help function instead of manually calculating the resource size. It can reduce the chance of introducing off-by-one errors. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>