i2c: piix4: Move SMBus port selection into function
Move port selection code into a separate function. Refactor is in preparation for following MMIO changes. Signed-off-by: NTerry Bowman <terry.bowman@amd.com> Reviewed-by: NAndy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: NJean Delvare <jdelvare@suse.de> Signed-off-by: NWolfram Sang <wsa@kernel.org>
Showing
想要评论请 注册 或 登录