firmware: vpd: use memunmap instead of iounmap
authorPan Bian <bianpan2016@163.com>
Thu, 10 Aug 2017 23:13:13 +0000 (07:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 14:55:47 +0000 (16:55 +0200)
commit75e5bae6ddf74740dd6ee35bc2d33ac9018037f4
tree44f7e3126065ca304f504adff32dde5bd57c123e
parente41e164c3cdff632f7e4372d1d5a0df35338c370
firmware: vpd: use memunmap instead of iounmap

In functions vpd_sections_init() and vpd_section_init(), iounmap() is
used to unmap memory. However, in these cases, memunmap() should be
used.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/google/vpd.c