mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-11 16:40:16 +00:00
Made the ISA/SMBus code shut up if DEBUG is off and things try to
access unimplementable functionality. And removed a #if which could never become true anyway from i2c-proc.c. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@67 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
bc8bc74784
commit
ea315df1c3
6 files changed
+24
-6
No files matched your search
@@ -84,9 +84,6 @@ static struct proc_dir_entry proc_bus_i2c_dir =
|
||||
/* size */ 0,
|
||||
/* ops */ NULL,
|
||||
/* get_info */ &read_bus_i2c
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,58))
|
||||
/* fill_inode */ &monitor_bus_i2c
|
||||
#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,58)) */
|
||||
};
|
||||
|
||||
/* List of registered entries in /proc/bus */
|
||||
|
||||
Reference in new issue
Block a user