]> 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)
commite6f380db13b3aeaab623678803121a48b4411ed5
tree136edc26d5883d501cb4e4a4d92ecede5482640c
parent04a81b7dda9e1cf81341f6302243e921356835e6
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