Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
15ff4843
Commit
15ff4843
authored
Apr 22, 2003
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] i2c: remove dead junk from i2c-sensors.h
parent
f52d1d03
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
32 deletions
+0
-32
include/linux/i2c-sensor.h
include/linux/i2c-sensor.h
+0
-32
No files found.
include/linux/i2c-sensor.h
View file @
15ff4843
...
@@ -22,18 +22,6 @@
...
@@ -22,18 +22,6 @@
#ifndef _LINUX_I2C_SENSOR_H
#ifndef _LINUX_I2C_SENSOR_H
#define _LINUX_I2C_SENSOR_H
#define _LINUX_I2C_SENSOR_H
#include <linux/sysctl.h>
/* The type of callback functions used in sensors_{proc,sysctl}_real */
typedef
void
(
*
i2c_real_callback
)
(
struct
i2c_client
*
client
,
int
operation
,
int
ctl_name
,
int
*
nrels_mag
,
long
*
results
);
/* Values for the operation field in the above function type */
#define SENSORS_PROC_REAL_INFO 1
#define SENSORS_PROC_REAL_READ 2
#define SENSORS_PROC_REAL_WRITE 3
/* A structure containing detect information.
/* A structure containing detect information.
Force variables overrule all other variables; they force a detection on
Force variables overrule all other variables; they force a detection on
that place. If a specific chip is given, the module blindly assumes this
that place. If a specific chip is given, the module blindly assumes this
...
@@ -350,24 +338,4 @@ static inline int SENSORS_LIMIT(long value, long low, long high)
...
@@ -350,24 +338,4 @@ static inline int SENSORS_LIMIT(long value, long low, long high)
else
else
return
value
;
return
value
;
}
}
/* The maximum length of the prefix */
#define SENSORS_PREFIX_MAX 20
/* Sysctl IDs */
#ifdef DEV_HWMON
#define DEV_SENSORS DEV_HWMON
#else
/* ndef DEV_HWMOM */
#define DEV_SENSORS 2
/* The id of the lm_sensors directory within the
dev table */
#endif
/* def DEV_HWMON */
#define SENSORS_CHIPS 1
struct
i2c_chips_data
{
int
sysctl_id
;
char
name
[
SENSORS_PREFIX_MAX
+
13
];
};
#endif
/* def _LINUX_I2C_SENSOR_H */
#endif
/* def _LINUX_I2C_SENSOR_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment