Skip to content
Commit b6df1cbb authored by James Clark's avatar James Clark Committed by Mathieu Poirier
Browse files

coresight: Simplify sysfs accessors by using csdev_access abstraction



The coresight_device struct is available in the sysfs accessor, and this
contains a csdev_access struct which can be used to access registers.
Use this instead of passing in the type of each drvdata so that a common
function can be shared between all the cs drivers.

No functional changes.

Signed-off-by: default avatarJames Clark <james.clark@arm.com>
Reviewed-by: default avatarMike Leach <mike.leach@linaro.org>
Link: https://lore.kernel.org/r/20220830172614.340962-3-james.clark@arm.com
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
parent 3727f03e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment