diff options
author | Erez Alfasi <ereza@mellanox.com> | 2019-10-16 09:23:06 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-22 15:22:47 -0300 |
commit | fb91069088faf30c6e8aeeed900326c040623e2d (patch) | |
tree | f9a41a9f6f6a162e343f409aa58018b58d4020ad /drivers/regulator/max77693-regulator.c | |
parent | IB/mlx5: Introduce ODP diagnostic counters (diff) | |
download | linux-dev-fb91069088faf30c6e8aeeed900326c040623e2d.tar.xz linux-dev-fb91069088faf30c6e8aeeed900326c040623e2d.zip |
RDMA/nldev: Allow different fill function per resource
So far res_get_common_{dumpit, doit} was using the default resource fill
function which was defined as part of the nldev_fill_res_entry
fill_entries.
Add a fill function pointer as an argument allows us to use different fill
function in case we want to dump different values then 'rdma resource'
flow do, but still use the same existing general resources dumping flow.
Link: https://lore.kernel.org/r/20191016062308.11886-3-leon@kernel.org
Signed-off-by: Erez Alfasi <ereza@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/regulator/max77693-regulator.c')
0 files changed, 0 insertions, 0 deletions