xen/pciback: use resource_size()
authorThomas Meyer <thomas@m3y3r.de>
Sat, 6 Aug 2011 09:05:35 +0000 (11:05 +0200)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 21 Sep 2011 20:21:42 +0000 (16:21 -0400)
commit5fa99911a346e1f95c7932ff99a76693037e7927
treec763ca108c5c22c6fdfac41a07fffb03e3596a25
parentb6fd41e29dea9c6753b1843a77e50433e6123bcb
xen/pciback: use resource_size()

 Use resource_size function on resource object
 instead of explicit computation.

 The semantic patch that makes this output is available
 in scripts/coccinelle/api/resource_size.cocci.

 More information about semantic patching is available at
 http://coccinelle.lip6.fr/

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xen-pciback/conf_space_header.c