diff options
author | James Clark <james.clark@arm.com> | 2022-08-30 18:26:10 +0100 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2022-08-31 10:54:59 -0600 |
commit | b6df1cbb415e543f2908f9c59a8fb20714b86879 (patch) | |
tree | 636bba43bb8f9367565ecb86c3b319c90557b08a /drivers/rtc/rtc-rtd119x.c | |
parent | 3727f03e2bc63de56fd00acb8846393106318156 (diff) | |
download | linux-b6df1cbb415e543f2908f9c59a8fb20714b86879.tar.bz2 |
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>
Diffstat (limited to 'drivers/rtc/rtc-rtd119x.c')
0 files changed, 0 insertions, 0 deletions