History

iio: adc: ti-ads1015: Get rid of legacy platform data

Platform data is a legacy interface to supply device properties to the driver. In this case we even don't have in-kernel users for it. Just remove it for good.

Andy Shevchenko committed 6 years ago

Commit 0cd9ff11 parent 32bd4323 files · +8 −34Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/platform_data/ads1015.h+0−23
@@ -1,23 +0,0 @@
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Platform Data for ADS1015 12-bit 4-input ADC
4 * (C) Copyright 2010
5 * Dirk Eibach, Guntermann & Drunck GmbH <eibach@gdsys.de>
6 */
7
8#ifndef LINUX_ADS1015_H
9#define LINUX_ADS1015_H
10
11#define ADS1015_CHANNELS 8
12
13struct ads1015_channel_data {
14 bool enabled;
15 unsigned int pga;
16 unsigned int data_rate;
17};
18
19struct ads1015_platform_data {
20 struct ads1015_channel_data channel_data[ADS1015_CHANNELS];
21};
22
23#endif /* LINUX_ADS1015_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t