ACPI: Use resource_size() in osl.c
authorAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Tue, 12 Mar 2013 08:53:02 +0000 (08:53 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Mar 2013 23:15:37 +0000 (00:15 +0100)
commite4f5224464739a89e6a6c9169211ef4f76165056
tree98c4403cf13006bca1c85ecbf9f9df4568fd7a43
parenta1458187ae66825871c93b6b56ca2cd1d88e9cb9
ACPI: Use resource_size() in osl.c

Use the resource_size() function instead of explicit computation.

[rjw: Subject and changelog]
Signed-off-by: Alexandru Gheorghiu <gheorghiuandru@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/osl.c