aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-03-07 22:36:06 +0200
committerJonathan Cameron <[email protected]>2022-04-04 09:11:24 +0100
commitbc4c94994ffe581bf7d2fbc3bd0974b6d9b0d746 (patch)
tree9ffab204b9745d7dce2e6963009756f570ad3151 /tools/perf/scripts/python/netdev-times.py
parente59b18a28909af502f41f2201109a1a1ac2d486c (diff)
iio: temperature: ltc2983: Make use of device properties
Convert the module to be property provider agnostic and allow it to be used on non-OF platforms. The conversion slightly changes the logic behind property reading for the configuration values. Original code allocates just as much memory as needed. Then for each separate 32- or 64-bit value it reads it from the property and converts to a raw one which will be fed to the sensor. In the new code we allocate the amount of memory needed to retrieve all values at once from the property and then convert them as required. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Nuno Sá <[email protected]> Tested-by: Nuno Sá <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions