| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2015 Intel Corporation |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Driver for TXC PA12203001 Proximity and Ambient Light Sensor. |
|---|
| 5 | 6 | * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 7 | | - * under the terms of the GNU General Public License version 2 as published by |
|---|
| 8 | | - * the Free Software Foundation. |
|---|
| 9 | 7 | * To do: Interrupt support. |
|---|
| 10 | 8 | */ |
|---|
| 11 | 9 | |
|---|
| .. | .. |
|---|
| 364 | 362 | |
|---|
| 365 | 363 | mutex_init(&data->lock); |
|---|
| 366 | 364 | |
|---|
| 367 | | - indio_dev->dev.parent = &client->dev; |
|---|
| 368 | 365 | indio_dev->info = &pa12203001_info; |
|---|
| 369 | 366 | indio_dev->name = PA12203001_DRIVER_NAME; |
|---|
| 370 | 367 | indio_dev->channels = pa12203001_channels; |
|---|