summaryrefslogtreecommitdiff
path: root/drivers/misc/ad525x_dpot.c
diff options
context:
space:
mode:
authorJames Clark <james.clark@arm.com>2023-04-25 17:35:37 +0300
committerSuzuki K Poulose <suzuki.poulose@arm.com>2023-06-05 17:46:46 +0300
commitae7f2b5a7b569f8ede4af9e215515e5a0b824edd (patch)
tree84aaf498f7037425f51b897192094d47a3b31b77 /drivers/misc/ad525x_dpot.c
parente3f4e68797a960869ccae556ad63163b3dc470a2 (diff)
downloadlinux-ae7f2b5a7b569f8ede4af9e215515e5a0b824edd.tar.xz
coresight: Make refcount a property of the connection
This removes the need to do an additional lookup for the total number of ports used and also removes the need to allocate an array of refcounts which is just another representation of a connection array. This was only used for link type devices, for regular devices a single refcount on the coresight device is used. There is a both an input and output refcount in case two link type devices are connected together so that they don't overwrite each other's counts. Reviewed-by: Mike Leach <mike.leach@linaro.org> Signed-off-by: James Clark <james.clark@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20230425143542.2305069-11-james.clark@arm.com
Diffstat (limited to 'drivers/misc/ad525x_dpot.c')
0 files changed, 0 insertions, 0 deletions