leds: simatic-ipc-leds: Convert to use P2SB accessor
authorHenning Schild <henning.schild@siemens.com>
Mon, 6 Jun 2022 16:41:36 +0000 (19:41 +0300)
committerLee Jones <lee@kernel.org>
Thu, 14 Jul 2022 09:50:36 +0000 (10:50 +0100)
commit759273c3c429ffbd8f24655fd0480cd408a1804c
treea64160e117442f0d7b245005a1d9c079257e8721
parente38da7d30f56ec6f9fae505a80561d4357cc7024
leds: simatic-ipc-leds: 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>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/simple/Kconfig
drivers/leds/simple/simatic-ipc-leds.c