i2c: piix4: Replace hardcoded memory map size with a #define
authorTerry Bowman <terry.bowman@amd.com>
Wed, 9 Feb 2022 17:27:10 +0000 (11:27 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 May 2022 07:57:22 +0000 (09:57 +0200)
commit5166f933da0e35efa5b241bd3dc7a787daba1d6e
treeab4c90539b9f79f4229d0e2e86f6c90826d0da5d
parent879e811a41f8d3fc9294380d4663cb72f6d00208
i2c: piix4: Replace hardcoded memory map size with a #define

commit 93102cb449780f7b4eecf713451627b78373ce49 upstream.

Replace number constant with #define to improve readability and
maintainability.

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