]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb50b4300265fd3a9ead9598d3158013b6b144bcb
tree0b84a4d029e251619698e808617ac5287456d0d5
parentbc25826bbc30c7377cf76b3c5097970a7f78da5c
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