.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * apds9300.c - IIO driver for Avago APDS9300 ambient light sensor |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright 2013 Oleksandr Kravchenko <o.v.kravchenko@globallogic.com> |
---|
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 | |
---|
11 | 8 | #include <linux/module.h> |
---|
.. | .. |
---|
422 | 419 | |
---|
423 | 420 | mutex_init(&data->mutex); |
---|
424 | 421 | |
---|
425 | | - indio_dev->dev.parent = &client->dev; |
---|
426 | 422 | indio_dev->channels = apds9300_channels; |
---|
427 | 423 | indio_dev->num_channels = ARRAY_SIZE(apds9300_channels); |
---|
428 | 424 | indio_dev->name = APDS9300_DRV_NAME; |
---|