.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * srf08.c - Support for Devantech SRFxx ultrasonic ranger |
---|
3 | 4 | * with i2c interface |
---|
.. | .. |
---|
5 | 6 | * |
---|
6 | 7 | * Copyright (c) 2016, 2017 Andreas Klinger <ak@it-klinger.de> |
---|
7 | 8 | * |
---|
8 | | - * This file is subject to the terms and conditions of version 2 of |
---|
9 | | - * the GNU General Public License. See the file COPYING in the main |
---|
10 | | - * directory of this archive for more details. |
---|
11 | | - * |
---|
12 | 9 | * For details about the device see: |
---|
13 | | - * http://www.robot-electronics.co.uk/htm/srf08tech.html |
---|
14 | | - * http://www.robot-electronics.co.uk/htm/srf10tech.htm |
---|
15 | | - * http://www.robot-electronics.co.uk/htm/srf02tech.htm |
---|
| 10 | + * https://www.robot-electronics.co.uk/htm/srf08tech.html |
---|
| 11 | + * https://www.robot-electronics.co.uk/htm/srf10tech.htm |
---|
| 12 | + * https://www.robot-electronics.co.uk/htm/srf02tech.htm |
---|
16 | 13 | */ |
---|
17 | 14 | |
---|
18 | 15 | #include <linux/err.h> |
---|
.. | .. |
---|
486 | 483 | } |
---|
487 | 484 | |
---|
488 | 485 | indio_dev->name = id->name; |
---|
489 | | - indio_dev->dev.parent = &client->dev; |
---|
490 | 486 | indio_dev->modes = INDIO_DIRECT_MODE; |
---|
491 | 487 | indio_dev->channels = srf08_channels; |
---|
492 | 488 | indio_dev->num_channels = ARRAY_SIZE(srf08_channels); |
---|