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)
commite38da7d30f56ec6f9fae505a80561d4357cc7024
treecc69606c70e3a45e9391aa880d14b8f08f8e6078
parent7b2db7049bb9e55efb7e0c8a7169d5a021b50284
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