diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2026-11-10 10:34:31 -0800 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-11-12 11:33:28 -0800 |
| commit | a97a2aa4cfd49f0162e4afc87bd5ada09a181ff7 (patch) | |
| tree | ecec0ce3a10050f8af6d80bcb1d5fd6f669413b9 /include | |
| parent | c170714751631b9893823c28e64aa128a495ebd2 (diff) | |
| download | linux-next-a97a2aa4cfd49f0162e4afc87bd5ada09a181ff7.tar.gz linux-next-a97a2aa4cfd49f0162e4afc87bd5ada09a181ff7.zip | |
hwmon: (max197) Remove driver
The max197 driver requires platform data providing a convert() callback
function pointer and fails to probe without it. The last user of this
driver was the x86/elan ts5500 platform that is no longer supported.
Remove the unused driver, its platform_data header file, Kconfig/Makefile
entries, and documentation.
Cc: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
[groeck: Updated description with details from Arnd's patch]
Link: https://patch.msgid.link/20261110183434.181711-9-linux@roeck-us.net
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/platform_data/max197.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/linux/platform_data/max197.h b/include/linux/platform_data/max197.h deleted file mode 100644 index 03ef46f9cd65..000000000000 --- a/include/linux/platform_data/max197.h +++ /dev/null @@ -1,23 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Maxim MAX197 A/D Converter Driver - * - * Copyright (c) 2012 Savoir-faire Linux Inc. - * Vivien Didelot <vivien.didelot@savoirfairelinux.com> - * - * For further information, see the Documentation/hwmon/max197.rst file. - */ - -#ifndef _PDATA_MAX197_H -#define _PDATA_MAX197_H - -/** - * struct max197_platform_data - MAX197 connectivity info - * @convert: Function used to start a conversion with control byte ctrl. - * It must return the raw data, or a negative error code. - */ -struct max197_platform_data { - int (*convert)(u8 ctrl); -}; - -#endif /* _PDATA_MAX197_H */ |
