diff options
| author | Miquel Raynal <[email protected]> | 2022-02-07 15:38:37 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-04-10 16:21:45 +0100 |
| commit | 8c576f87ad7eb639b8bd4472a9bb830e0696dda5 (patch) | |
| tree | 3adaf18e206dd4aad53cd3566eae548c345fe8cf /tools/perf/scripts/python/flamegraph.py | |
| parent | 2f53b4adfede66f1bc1c8bb7efd7ced2bad1191a (diff) | |
iio: core: Hide read accesses to iio_dev->currentmode
In order to later move this variable within the opaque structure, let's
create a helper for accessing it in read-only mode. This helper will be
exposed to device drivers and kept accessible for the few that could need
it. The write access to this variable however should be fully reserved to
the core so in a second step we will hide this variable into the opaque
structure.
Cc: Eugen Hristev <[email protected]>
Cc: Nicolas Ferre <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Cc: Ludovic Desroches <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions