hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/iio/dac/ds4424.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Maxim Integrated
34 * 7-bit, Multi-Channel Sink/Source Current DAC Driver
45 * Copyright (C) 2017 Maxim Integrated
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
118 #include <linux/kernel.h>
....@@ -233,8 +230,6 @@
233230 i2c_set_clientdata(client, indio_dev);
234231 data->client = client;
235232 indio_dev->name = id->name;
236
- indio_dev->dev.of_node = client->dev.of_node;
237
- indio_dev->dev.parent = &client->dev;
238233
239234 data->vcc_reg = devm_regulator_get(&client->dev, "vcc");
240235 if (IS_ERR(data->vcc_reg)) {