.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Maxim Integrated |
---|
3 | 4 | * 7-bit, Multi-Channel Sink/Source Current DAC Driver |
---|
4 | 5 | * 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. |
---|
9 | 6 | */ |
---|
10 | 7 | |
---|
11 | 8 | #include <linux/kernel.h> |
---|
.. | .. |
---|
233 | 230 | i2c_set_clientdata(client, indio_dev); |
---|
234 | 231 | data->client = client; |
---|
235 | 232 | indio_dev->name = id->name; |
---|
236 | | - indio_dev->dev.of_node = client->dev.of_node; |
---|
237 | | - indio_dev->dev.parent = &client->dev; |
---|
238 | 233 | |
---|
239 | 234 | data->vcc_reg = devm_regulator_get(&client->dev, "vcc"); |
---|
240 | 235 | if (IS_ERR(data->vcc_reg)) { |
---|