devlink: Move devlink health get and set code to health file
authorMoshe Shemesh <moshe@nvidia.com>
Tue, 14 Feb 2023 16:37:59 +0000 (18:37 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Feb 2023 03:15:44 +0000 (19:15 -0800)
commitdb6b5f3ec400479c0906be6884c9ecceaf0b8c46
tree52dc8394705fb6447a7d6d677f0f8aa859c15aa4
parentbfd4e6a5dbbc12f77620602e764ac940ccb159de
devlink: Move devlink health get and set code to health file

Move devlink health get and set callbacks and related code from
leftover.c to health.c. No functional change in this patch.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/devlink/devl_internal.h
net/devlink/health.c
net/devlink/leftover.c