diff options
| author | Vaishnav M A <vaishnav@beagleboard.org> | 2020-10-19 02:05:52 +0530 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-11-01 15:28:55 +0000 |
| commit | d884da1a75489e10ccf65fdca41ce8d917bcfbe1 (patch) | |
| tree | bbe75a5f63dc492bf564159c34b6741c5724e21d /tools/perf/scripts/python | |
| parent | iio: light: vcnl4035 add i2c_device_id (diff) | |
| download | linux-d884da1a75489e10ccf65fdca41ce8d917bcfbe1.tar.gz linux-d884da1a75489e10ccf65fdca41ce8d917bcfbe1.zip | |
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 <vaishnav@beagleboard.org>
Link: https://lore.kernel.org/r/20201018203552.GA816421@ubuntu
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
