diff options
| author | Erikas Bitovtas <xerikasxx@gmail.com> | 2026-04-14 15:37:17 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-04-27 09:58:20 +0100 |
| commit | 4617091a7616aeaa174506045733b20a5398c2a9 (patch) | |
| tree | ec3e314255dcb4c4ae4de4f99c7ad20964ec9333 /scripts/patch-kernel | |
| parent | 416e983c913742cfae1720982720fe06fc7d3bba (diff) | |
| download | linux-4617091a7616aeaa174506045733b20a5398c2a9.tar.gz linux-4617091a7616aeaa174506045733b20a5398c2a9.zip | |
iio: light: vcnl4000: validate device by prod ID instead of table ID
Add a new field for vcnl4000_chip_spec and check if we have the right
device by that instead of the index from enum table. This leaves the
enum table being used only for picking the right vcnl4000_chip_spec,
allowing us to drop it later on.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Erikas Bitovtas <xerikasxx@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
