diff options
| author | 2026-06-14 15:19:04 +0200 | |
|---|---|---|
| committer | 2026-06-30 00:15:54 +0100 | |
| commit | c9439c1de88fd7fba1e95fc4c756b2384beba423 (patch) | |
| tree | 6790c9445ebf05e9b2556cc4eca1d10459f820d3 /scripts/Makefile.thinlto | |
| parent | iio: light: opt3001: move device registration to end of probe() (diff) | |
iio: light: opt3001: use local struct device and i2c_client variables
Switch the driver to use local variables for struct device and struct
i2c_client and remove struct device member from struct opt3001, as the
former can be derived from struct client.
No functional change.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
