strict_strtol and strict_strtoul are no longer defined in the latest kernel,
so don't use those functions unless really needed.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
#define clamp_val SENSORS_LIMIT
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 12, 0)
#ifndef kstrtol
#define kstrtol strict_strtol
#endif
#ifndef kstrtoul
#define kstrtoul strict_strtoul
#endif
+#endif
#ifndef request_muxed_region
#define request_muxed_region(a, b, c) (true)