]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: i801: convert to use common P2SB accessor
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 6 Jun 2022 16:41:32 +0000 (19:41 +0300)
committerLee Jones <lee@kernel.org>
Thu, 14 Jul 2022 09:50:36 +0000 (10:50 +0100)
commit89d7989d3143e481dfb6f50598315ab9ad401aeb
treeadfa4475401732d7d7d2205f4426e8cbc70fa2b5
parentbe832bb41565b55c782af5173081fdd22e5acb6f
i2c: i801: convert to use common P2SB accessor

Since we have a common P2SB accessor in tree we may use it instead of
open coded variants.

Replace custom code by p2sb_bar() call.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Henning Schild <henning.schild@siemens.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Acked-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-i801.c
drivers/platform/x86/intel/p2sb.c