.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * mpl115.c - Support for Freescale MPL115A pressure/temperature sensor |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net> |
---|
5 | 6 | * |
---|
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 | | - * |
---|
10 | 7 | * TODO: shutdown pin |
---|
11 | | - * |
---|
12 | 8 | */ |
---|
13 | 9 | |
---|
14 | 10 | #include <linux/module.h> |
---|
.. | .. |
---|
164 | 160 | |
---|
165 | 161 | indio_dev->info = &mpl115_info; |
---|
166 | 162 | indio_dev->name = name; |
---|
167 | | - indio_dev->dev.parent = dev; |
---|
168 | 163 | indio_dev->modes = INDIO_DIRECT_MODE; |
---|
169 | 164 | indio_dev->channels = mpl115_channels; |
---|
170 | 165 | indio_dev->num_channels = ARRAY_SIZE(mpl115_channels); |
---|