]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 May 2022 07:57:22 +0000 (09:57 +0200)
commit3fcf2eb2f3a730b5e9f1f3e625b8176e63eedc57
tree361ef32052d0e4db2897d5597de8f8d73775874d
parent7bb0b9b664546e14a177ec1df2f359c2fa97f899
i2c: piix4: Move SMBus controller base address detect into function

commit b50b4300265fd3a9ead9598d3158013b6b144bcb upstream.

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>
Cc: Mario Limonciello <Mario.Limonciello@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i2c/busses/i2c-piix4.c