]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ed7ebea2360eadf592e8fcfedf6e690d3201cba
tree136edc26d5883d501cb4e4a4d92ecede5482640c
parent4ac80a4fa15e01b0c69e225fce09539cab4a280b
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 b27d3d612fda0247ad306ce6202342c73a665b28 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