misc/pvpanic: simplify the code using acpi_dev_resource_io
authorPeng Hao <peng.hao2@zte.com.cn>
Tue, 6 Nov 2018 14:57:13 +0000 (22:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 12:53:04 +0000 (13:53 +0100)
commitd2ae1717f3f6b1bd86cd05d0443169b645445d62
treebb281d4c505dc2fe1b9920ede34e6958ef19a3cc
parentfcb418cd567febb310749e37507679e4f2703e56
misc/pvpanic: simplify the code using acpi_dev_resource_io

Use acpi_dev_resource_io API.

Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/pvpanic.c