dpll: allocate pin ids in cycle
authorJiri Pirko <jiri@nvidia.com>
Tue, 12 Dec 2023 15:06:05 +0000 (16:06 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 14 Dec 2023 02:30:31 +0000 (18:30 -0800)
commit97f265ef7f5b526b33d6030b2a1fc69a2259bf4a
treee18d5d8729b1c13c744e92538b2613e9b22c7ec1
parent4746b36b1abe11ca32987b2d21e1e770deab17cc
dpll: allocate pin ids in cycle

Pin ID is just a number. Nobody should rely on a certain value, instead,
user should use either pin-id-get op or RTNetlink to get it.

Unify the pin ID allocation behavior with what there is already
implemented for dpll devices.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20231212150605.1141261-1-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/dpll/dpll_core.c