devlink: Perform cleanup of resource_set cb
authorArkadi Sharshevsky <arkadis@mellanox.com>
Tue, 20 Feb 2018 07:44:21 +0000 (08:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Feb 2018 18:38:54 +0000 (13:38 -0500)
commit4f4bbf7c4e3d4bd14987a13041c6b5b1ea59e21f
tree9a9b4e78ee247ff70495964f6c43870aafb60898
parentcc944ead839a28b07cea4f90878f2b7e0cb71a02
devlink: Perform cleanup of resource_set cb

After adding size validation logic into core cleanup is required.

Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
include/net/devlink.h