| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * AD5504, AD5501 High Voltage Digital to Analog Converter |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright 2011 Analog Devices Inc. |
|---|
| 5 | | - * |
|---|
| 6 | | - * Licensed under the GPL-2. |
|---|
| 7 | 6 | */ |
|---|
| 8 | 7 | |
|---|
| 9 | 8 | #include <linux/interrupt.h> |
|---|
| .. | .. |
|---|
| 44 | 43 | * @spi: spi_device |
|---|
| 45 | 44 | * @reg: supply regulator |
|---|
| 46 | 45 | * @vref_mv: actual reference voltage used |
|---|
| 47 | | - * @pwr_down_mask power down mask |
|---|
| 48 | | - * @pwr_down_mode current power down mode |
|---|
| 46 | + * @pwr_down_mask: power down mask |
|---|
| 47 | + * @pwr_down_mode: current power down mode |
|---|
| 49 | 48 | * @data: transfer buffer |
|---|
| 50 | 49 | */ |
|---|
| 51 | 50 | struct ad5504_state { |
|---|
| .. | .. |
|---|
| 58 | 57 | __be16 data[2] ____cacheline_aligned; |
|---|
| 59 | 58 | }; |
|---|
| 60 | 59 | |
|---|
| 61 | | -/** |
|---|
| 60 | +/* |
|---|
| 62 | 61 | * ad5504_supported_device_ids: |
|---|
| 63 | 62 | */ |
|---|
| 64 | | - |
|---|
| 65 | 63 | enum ad5504_supported_device_ids { |
|---|
| 66 | 64 | ID_AD5504, |
|---|
| 67 | 65 | ID_AD5501, |
|---|
| .. | .. |
|---|
| 305 | 303 | |
|---|
| 306 | 304 | st->reg = reg; |
|---|
| 307 | 305 | st->spi = spi; |
|---|
| 308 | | - indio_dev->dev.parent = &spi->dev; |
|---|
| 309 | 306 | indio_dev->name = spi_get_device_id(st->spi)->name; |
|---|
| 310 | 307 | indio_dev->info = &ad5504_info; |
|---|
| 311 | 308 | if (spi_get_device_id(st->spi)->driver_data == ID_AD5501) |
|---|
| .. | .. |
|---|
| 369 | 366 | }; |
|---|
| 370 | 367 | module_spi_driver(ad5504_driver); |
|---|
| 371 | 368 | |
|---|
| 372 | | -MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>"); |
|---|
| 369 | +MODULE_AUTHOR("Michael Hennerich <michael.hennerich@analog.com>"); |
|---|
| 373 | 370 | MODULE_DESCRIPTION("Analog Devices AD5501/AD5501 DAC"); |
|---|
| 374 | 371 | MODULE_LICENSE("GPL v2"); |
|---|