aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/light/st_uvis25.h
diff options
context:
space:
mode:
authorVaishnav M A <vaishnav@beagleboard.org>2020-10-19 02:05:52 +0530
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-11-01 15:28:55 +0000
commitd884da1a75489e10ccf65fdca41ce8d917bcfbe1 (patch)
treebbe75a5f63dc492bf564159c34b6741c5724e21d /drivers/iio/light/st_uvis25.h
parent41a4b8f13a39f846747f5cffc58c315e72a29606 (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 <vaishnav@beagleboard.org> Link: https://lore.kernel.org/r/20201018203552.GA816421@ubuntu Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/light/st_uvis25.h')
0 files changed, 0 insertions, 0 deletions