parport_pc.c: correctly release the requested region for the IT887x
authorNiels de Vos <ndevos@redhat.com>
Mon, 18 Apr 2011 14:26:03 +0000 (15:26 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 19 Apr 2011 23:36:24 +0000 (16:36 -0700)
commit0f6db2172ffa478409b5facd06bcd38a03b504f7
tree136edc26d5883d501cb4e4a4d92ecede5482640c
parentf0e615c3cb72b42191b558c130409335812621d8
parport_pc.c: correctly release the requested region for the IT887x

Replace release_resource() by release_region() and also fix the
inconsistency in the size of the requested/released region.

The size of the resource should be 32, not 0x8 like it was corrected in
commit e7c310c36e5fdf1b83a459e5db167bfbd86137db already.

CC: linux-serial@vger.kernel.org
Reported-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/parport/parport_pc.c