watchdog: diag288_wdt: unify lpar and zvm diag288 helpers
authorAlexander Egorenkov <egorenar@linux.ibm.com>
Fri, 3 Feb 2023 07:39:58 +0000 (08:39 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 6 Feb 2023 14:14:10 +0000 (15:14 +0100)
commit20e6ce4818b965463d629e690b23d321722f6e09
treef00614adabc8febc9e9d3785415769fcdb067c1c
parent379008519819b58a4b5d1adb177f4ce8164a54d0
watchdog: diag288_wdt: unify lpar and zvm diag288 helpers

Change naming of the internal diag288 helper functions
to improve overall readability and reduce confusion:
* Rename __diag288() to diag288().
* Get rid of the misnamed helper __diag288_lpar() that was used not only
  on LPARs but also zVM and KVM systems.
* Rename __diag288_vm() to diag288_str().

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230203073958.1585738-6-egorenar@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/watchdog/diag288_wdt.c