]> git.sur5r.net Git - groeck-it87/commitdiff
Revert "Provide vid_from_reg and vid_which_vrm if needed"
authorGuenter Roeck <linux@roeck-us.net>
Thu, 10 May 2018 03:40:22 +0000 (20:40 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 10 May 2018 03:40:22 +0000 (20:40 -0700)
This reverts commit 905a3a095d49ef9f6eea5ec1b0bc21e3c6901b9e.

This didn't work and results in duplicate symbols.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
compat.h

index c8ac0dee54178ef22743bd8bca98ff1b9ededa7c..865dcc520caec6b6b858363d8f621eb84231afcc 100644 (file)
--- a/compat.h
+++ b/compat.h
 
 #include <linux/version.h>
 
-#if !defined (CONFIG_HWMON_VID) && !defined(CONFIG_HWMON_VID_MODULE)
-int vid_from_reg(int val, u8 vrm)
-{
-        return 0;
-}
-
-u8 vid_which_vrm(void)
-{
-        return 0;
-}
-#endif
-
 #ifndef clamp_val
 #define clamp_val SENSORS_LIMIT
 #endif