James Clark b6df1cbb41 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: James Clark <james.clark@arm.com>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Link: https://lore.kernel.org/r/20220830172614.340962-3-james.clark@arm.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2022-08-31 10:54:59 -06:00
..
2022-08-11 19:21:03 +02:00
2022-08-04 20:00:14 -07:00
2022-07-22 15:51:31 +10:00
2022-08-04 12:12:54 -07:00
2022-08-06 10:56:45 -07:00
2022-08-13 13:41:48 -07:00
2022-08-01 15:26:40 +02:00
2022-08-11 12:10:08 -07:00