| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2015 Prevas A/S |
|---|
| 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 version 2 as |
|---|
| 6 | | - * published by the Free Software Foundation. |
|---|
| 7 | 4 | */ |
|---|
| 8 | 5 | |
|---|
| 9 | 6 | #include <linux/device.h> |
|---|
| .. | .. |
|---|
| 453 | 450 | st->spi = spi; |
|---|
| 454 | 451 | |
|---|
| 455 | 452 | indio_dev->name = spi_get_device_id(spi)->name; |
|---|
| 456 | | - indio_dev->dev.parent = &spi->dev; |
|---|
| 457 | | - indio_dev->dev.of_node = spi->dev.of_node; |
|---|
| 458 | 453 | indio_dev->modes = INDIO_DIRECT_MODE; |
|---|
| 459 | 454 | indio_dev->channels = st->chip_info->channels; |
|---|
| 460 | 455 | indio_dev->num_channels = st->chip_info->num_channels; |
|---|
| .. | .. |
|---|
| 524 | 519 | }; |
|---|
| 525 | 520 | module_spi_driver(ads8688_driver); |
|---|
| 526 | 521 | |
|---|
| 527 | | -MODULE_AUTHOR("Sean Nyekjaer <sean.nyekjaer@prevas.dk>"); |
|---|
| 522 | +MODULE_AUTHOR("Sean Nyekjaer <sean@geanix.dk>"); |
|---|
| 528 | 523 | MODULE_DESCRIPTION("Texas Instruments ADS8688 driver"); |
|---|
| 529 | 524 | MODULE_LICENSE("GPL v2"); |
|---|