| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2016 - Marcin Malagowski <mrc@bourne.st> |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 6 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 7 | | - * (at your option) any later version. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 10 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 12 | | - * GNU General Public License for more details. |
|---|
| 13 | 4 | */ |
|---|
| 14 | 5 | #include <linux/delay.h> |
|---|
| 15 | 6 | #include <linux/device.h> |
|---|
| .. | .. |
|---|
| 203 | 194 | |
|---|
| 204 | 195 | abp060mg_init_device(indio_dev, cfg_id); |
|---|
| 205 | 196 | |
|---|
| 206 | | - indio_dev->dev.parent = &client->dev; |
|---|
| 207 | 197 | indio_dev->name = dev_name(&client->dev); |
|---|
| 208 | 198 | indio_dev->modes = INDIO_DIRECT_MODE; |
|---|
| 209 | 199 | indio_dev->info = &abp060mg_info; |
|---|