pds_core: Fix documentation for pds_client_register
authorBrett Creeley <brett.creeley@amd.com>
Tue, 1 Aug 2023 16:58:33 +0000 (09:58 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Aug 2023 19:28:32 +0000 (12:28 -0700)
commit30ff01ee99bc961e5f278f997e41ffb94785a88b
tree06c9a5a99fd3759ad713e4a8f2930275ba204a65
parentf85b1c7da776d0cb2b4509bdd7f406fe5607930b
pds_core: Fix documentation for pds_client_register

The documentation above pds_client_register states that it returns 0 on
success and negative on error. However, it actually returns a positive
client ID on success and negative on error. Fix the documentation to
state exactly that.

Signed-off-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Link: https://lore.kernel.org/r/20230801165833.1622-1-brett.creeley@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amd/pds_core/auxbus.c