EDAC, pnd2: convert to use common P2SB accessor
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 6 Jun 2022 16:41:34 +0000 (19:41 +0300)
committerLee Jones <lee@kernel.org>
Thu, 14 Jul 2022 09:50:36 +0000 (10:50 +0100)
commit7b2db7049bb9e55efb7e0c8a7169d5a021b50284
treeed1d22aca65c2746002db5ca9650fd1d550cb28e
parent6adc32f58b9356ced575f9d820e8e3f1f629f830
EDAC, pnd2: 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>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/edac/Kconfig
drivers/edac/pnd2_edac.c