From: Guenter Roeck Date: Thu, 10 May 2018 03:40:22 +0000 (-0700) Subject: Revert "Provide vid_from_reg and vid_which_vrm if needed" X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e4056dade6d24caf7e972087d6570236e41d7049;p=groeck-it87 Revert "Provide vid_from_reg and vid_which_vrm if needed" This reverts commit 905a3a095d49ef9f6eea5ec1b0bc21e3c6901b9e. This didn't work and results in duplicate symbols. Signed-off-by: Guenter Roeck --- diff --git a/compat.h b/compat.h index c8ac0de..865dcc5 100644 --- a/compat.h +++ b/compat.h @@ -11,18 +11,6 @@ #include -#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