.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * rfd77402.c - Support for RF Digital RFD77402 Time-of-Flight (distance) sensor |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright 2017 Peter Meerwald-Stadler <pmeerw@pmeerw.net> |
---|
5 | | - * |
---|
6 | | - * This file is subject to the terms and conditions of version 2 of |
---|
7 | | - * the GNU General Public License. See the file COPYING in the main |
---|
8 | | - * directory of this archive for more details. |
---|
9 | 6 | * |
---|
10 | 7 | * 7-bit I2C slave address 0x4c |
---|
11 | 8 | * |
---|
.. | .. |
---|
277 | 274 | data->client = client; |
---|
278 | 275 | mutex_init(&data->lock); |
---|
279 | 276 | |
---|
280 | | - indio_dev->dev.parent = &client->dev; |
---|
281 | 277 | indio_dev->info = &rfd77402_info; |
---|
282 | 278 | indio_dev->channels = rfd77402_channels; |
---|
283 | 279 | indio_dev->num_channels = ARRAY_SIZE(rfd77402_channels); |
---|