]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: simatic-ipc-wdt: convert to use P2SB accessor
authorHenning Schild <henning.schild@siemens.com>
Mon, 6 Jun 2022 16:41:35 +0000 (19:41 +0300)
committerLee Jones <lee@kernel.org>
Thu, 14 Jul 2022 09:50:36 +0000 (10:50 +0100)
commit4bc4026e5bbbdf361ce933dc37ccfa1ddf4623d3
treecc69606c70e3a45e9391aa880d14b8f08f8e6078
parent630ab9d55943154e14868da7063b90f63cd3057b
watchdog: simatic-ipc-wdt: convert to use 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: Henning Schild <henning.schild@siemens.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/watchdog/Kconfig
drivers/watchdog/simatic-ipc-wdt.c