]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - doc/driver-model/UDM-hwmon.txt
Coding Style cleanup: replace leading SPACEs by TABs
[karo-tx-uboot.git] / doc / driver-model / UDM-hwmon.txt
index cc5d529c3b539966e67273d10e971965f976320e..9048cc0f005a9a44b01cebd8788edd2c4f641b59 100644 (file)
@@ -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);
     };