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.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -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 | − | |
| 13 | −struct ads1015_channel_data { | |
| 14 | − bool enabled; | |
| 15 | − unsigned int pga; | |
| 16 | − unsigned int data_rate; | |
| 17 | −}; | |
| 18 | − | |
| 19 | −struct ads1015_platform_data { | |
| 20 | − struct ads1015_channel_data channel_data[ADS1015_CHANNELS]; | |
| 21 | −}; | |
| 22 | − | |
| 23 | −#endif /* LINUX_ADS1015_H */ | |