parport: use release_mem_region instead of release_resource
authorAnton Vasilyev <vasilyev@ispras.ru>
Sat, 12 Aug 2017 21:45:50 +0000 (22:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 15:25:43 +0000 (17:25 +0200)
commited779b275b27bea231dae0aebd048d72ff5a010d
tree746eb6dda075ce2536ad5ba5b4565db922c491be
parentdf4c756e5f6bf08bd7bc63bbfd7fa921a855f241
parport: use release_mem_region instead of release_resource

Use api pair of request_mem_region and release_mem_region
instead of release_resource.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/parport_ax88796.c