| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * ltc2485.c - Driver for Linear Technology LTC2485 ADC |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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. |
|---|
| 9 | 6 | * |
|---|
| 10 | 7 | * Datasheet: http://cds.linear.com/docs/en/datasheet/2485fd.pdf |
|---|
| 11 | 8 | */ |
|---|
| .. | .. |
|---|
| 111 | 108 | i2c_set_clientdata(client, indio_dev); |
|---|
| 112 | 109 | data->client = client; |
|---|
| 113 | 110 | |
|---|
| 114 | | - indio_dev->dev.parent = &client->dev; |
|---|
| 115 | 111 | indio_dev->name = id->name; |
|---|
| 116 | 112 | indio_dev->info = <c2485_info; |
|---|
| 117 | 113 | indio_dev->modes = INDIO_DIRECT_MODE; |
|---|