diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-10-01 23:21:18 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-10-06 17:09:35 +0300 |
commit | 8ff21dd6dfc08274d478b0f4f540f23f7065b8c5 (patch) | |
tree | 33144d8e53fac6dbb910e51ea3ddb74c5bde0986 /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | c8823425af28873bf61633ee37adaa40c1615752 (diff) | |
download | linux-8ff21dd6dfc08274d478b0f4f540f23f7065b8c5.tar.xz |
iio: light: veml6030: use read_avail() for available attributes
Drop custom attributes by using the standard read_avail() callback to
read scale and integration time. When at it, add the integration time
and scale attributes fro the WHITE channel, as they modify its value as
well. To avoid breaking the current ABI, these attributes must be kept
as separate for both channels even though they are shared under the
hood.
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241001-veml6035-v3-5-d789f6ff147c@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions