USB: gadget: imx_udc: Use resource size
authorTobias Klauser <tklauser@distanz.ch>
Fri, 18 Sep 2009 07:14:46 +0000 (09:14 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Oct 2009 20:52:07 +0000 (13:52 -0700)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found