OSDN Git Service

i2c: piix4: Move SMBus controller base address detect into function
authorTerry Bowman <terry.bowman@amd.com>
Wed, 9 Feb 2022 17:27:12 +0000 (11:27 -0600)
committerWolfram Sang <wsa@kernel.org>
Fri, 11 Feb 2022 14:34:49 +0000 (15:34 +0100)
commit0a59a24e14e9b21dcbb6b8ea41422e2fdfa437fd
tree0b84a4d029e251619698e808617ac5287456d0d5
parenta3325d225b00889f4b7fdb25d83033cae1048a92
i2c: piix4: Move SMBus controller base address detect into function

Move SMBus controller base address detection into function. Refactor
is in preparation for following MMIO changes.

Signed-off-by: Terry Bowman <terry.bowman@amd.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-piix4.c