summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNaresh Solanki <naresh.solanki@9elements.com>2024-10-07 14:34:24 +0530
committerGuenter Roeck <linux@roeck-us.net>2024-11-10 14:48:06 -0800
commit7506ebcd662b868780774d191a7c024c18c557a8 (patch)
tree9006b348e32c46544206d10a23c00ab07eb0bd3d /include
parent79bc0af904db647979c735563299c9b0d820e432 (diff)
hwmon: (max6639) : Configure based on DT property
Remove platform data & initialize with defaults configuration & overwrite based on DT properties. Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com> Message-ID: <20241007090426.811736-1-naresh.solanki@9elements.com> [groeck: Dropped some unnecessary empty lines] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/max6639.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/platform_data/max6639.h b/include/linux/platform_data/max6639.h
deleted file mode 100644
index 65bfdb4fdc15..000000000000
--- a/include/linux/platform_data/max6639.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _LINUX_MAX6639_H
-#define _LINUX_MAX6639_H
-
-#include <linux/types.h>
-
-/* platform data for the MAX6639 temperature sensor and fan control */
-
-struct max6639_platform_data {
- bool pwm_polarity; /* Polarity low (0) or high (1, default) */
- int ppr; /* Pulses per rotation 1..4 (default == 2) */
- int rpm_range; /* 2000, 4000 (default), 8000 or 16000 */
-};
-
-#endif /* _LINUX_MAX6639_H */