Skip to content
Commit a3325d22 authored by Terry Bowman's avatar Terry Bowman Committed by Wolfram Sang
Browse files

i2c: piix4: Move port I/O region request/release code into functions



Move duplicated region request and release code into a function. Move is
in preparation for following MMIO changes.

Signed-off-by: default avatarTerry Bowman <terry.bowman@amd.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: default avatarJean Delvare <jdelvare@suse.de>
[wsa: added missing curly brace]
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 93102cb4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment