diff options
| author | Erikas Bitovtas <xerikasxx@gmail.com> | 2026-03-20 19:45:42 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-03-21 15:40:30 +0300 |
| commit | 5ec96d77ca28c0560e8883a0709ab63667eac19f (patch) | |
| tree | 367d2a2997811c5431a2e38e481df6c030546f23 /include/linux/stringify.h | |
| parent | c4380f90752b8ad469e077658f378c9f454e429c (diff) | |
| download | linux-5ec96d77ca28c0560e8883a0709ab63667eac19f.tar.xz | |
iio: light: vcnl4000: remove redundant check for proximity-near-level
The data->near_level variable is already assigned 0 during
devm_kzalloc(), therefore checking if the property is present and then
assigning it 0 is redundant. Remove the check for device tree property
and let it fail silently if it is missing or invalid.
Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Erikas Bitovtas <xerikasxx@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
