diff options
| author | Vaishnav M A <[email protected]> | 2020-10-19 02:05:52 +0530 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-11-01 15:28:55 +0000 |
| commit | d884da1a75489e10ccf65fdca41ce8d917bcfbe1 (patch) | |
| tree | bbe75a5f63dc492bf564159c34b6741c5724e21d /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 41a4b8f13a39f846747f5cffc58c315e72a29606 (diff) | |
iio:light:tsl2563 use generic fw accessors
Replace of_property_read_u32() with device_property_read_u32(),
when reading the amstaos,cover-comp-gain.This opens up the
possibility of passing the properties during platform instantiation
of the device by a suitable populated struct property_entry.
Additionally, a minor change in logic is added to remove the
of_node present check.
Signed-off-by: Vaishnav M A <[email protected]>
Link: https://lore.kernel.org/r/20201018203552.GA816421@ubuntu
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions