forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/iio/adc/ltc2485.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * ltc2485.c - Driver for Linear Technology LTC2485 ADC
34 *
45 * Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 *
107 * Datasheet: http://cds.linear.com/docs/en/datasheet/2485fd.pdf
118 */
....@@ -111,7 +108,6 @@
111108 i2c_set_clientdata(client, indio_dev);
112109 data->client = client;
113110
114
- indio_dev->dev.parent = &client->dev;
115111 indio_dev->name = id->name;
116112 indio_dev->info = &ltc2485_info;
117113 indio_dev->modes = INDIO_DIRECT_MODE;