forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/iio/light/cm3605.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * CM3605 Ambient Light and Proximity Sensor
34 *
....@@ -238,7 +239,6 @@
238239 led_trigger_register_simple("cm3605", &cm3605->led);
239240 led_trigger_event(cm3605->led, LED_FULL);
240241
241
- indio_dev->dev.parent = dev;
242242 indio_dev->info = &cm3605_info;
243243 indio_dev->name = "cm3605";
244244 indio_dev->channels = cm3605_channels;