| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Driver for Linear Technology LTC2471 and LTC2473 voltage monitors |
|---|
| 3 | 4 | * The LTC2473 is identical to the 2471, but reports a differential signal. |
|---|
| 4 | 5 | * |
|---|
| 5 | 6 | * Copyright (C) 2017 Topic Embedded Products |
|---|
| 6 | 7 | * Author: Mike Looijmans <mike.looijmans@topic.nl> |
|---|
| 7 | | - * |
|---|
| 8 | | - * License: GPLv2 |
|---|
| 9 | 8 | */ |
|---|
| 10 | 9 | |
|---|
| 11 | 10 | #include <linux/err.h> |
|---|
| .. | .. |
|---|
| 117 | 116 | data = iio_priv(indio_dev); |
|---|
| 118 | 117 | data->client = client; |
|---|
| 119 | 118 | |
|---|
| 120 | | - indio_dev->dev.parent = &client->dev; |
|---|
| 121 | 119 | indio_dev->name = id->name; |
|---|
| 122 | 120 | indio_dev->info = <c2471_info; |
|---|
| 123 | 121 | indio_dev->modes = INDIO_DIRECT_MODE; |
|---|