diff options
| author | Sven Van Asbroeck <[email protected]> | 2019-05-21 14:29:32 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-05-22 14:32:40 +0200 |
| commit | 2411a336c8ce894e5db26ebe66a6118726b13327 (patch) | |
| tree | c52fb5944c4087024a74fd95d25e3f84f9965a64 /tools/perf/scripts/python | |
| parent | 67436a1ecc72387feabde8c07a347261f4f14ca8 (diff) | |
staging: fieldbus: arcx-anybus: change custom -> mmio regmap
The arcx-anybus's registers are accessed via a memory-mapped
IO region. A regmap associated with this region is created
using custom reg_read() / reg_write() callbacks.
However, an abstraction which creates a memory-mapped IO
region backed regmap already exists: devm_regmap_init_mmio().
Replace the custom regmap with the existing kernel abstraction.
As a pleasant side-effect, sparse warnings now disappear.
Signed-off-by: Sven Van Asbroeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions