aboutsummaryrefslogtreecommitdiff
path: root/doc/driver-model/UDM-hwmon.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/driver-model/UDM-hwmon.txt')
-rw-r--r--doc/driver-model/UDM-hwmon.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/driver-model/UDM-hwmon.txt b/doc/driver-model/UDM-hwmon.txt
index cc5d529c3b5..9048cc0f005 100644
--- a/doc/driver-model/UDM-hwmon.txt
+++ b/doc/driver-model/UDM-hwmon.txt
@@ -36,15 +36,15 @@ II) Approach
In the UDM each hwmon driver would register itself by a function
int hwmon_device_register(struct instance *i,
- struct hwmon_device_ops *o);
+ struct hwmon_device_ops *o);
The structure being defined as follows:
struct hwmon_device_ops {
- int (*read)(struct instance *i, int sensor, int reg);
- int (*write)(struct instance *i, int sensor, int reg,
- int val);
- int (*get_temp)(struct instance *i, int sensor);
+ int (*read)(struct instance *i, int sensor, int reg);
+ int (*write)(struct instance *i, int sensor, int reg,
+ int val);
+ int (*get_temp)(struct instance *i, int sensor);
};