ARM: PCI: Remove the IXP PCI driver
[oweals/u-boot.git] / doc / driver-model / UDM-hwmon.txt
index cc5d529c3b539966e67273d10e971965f976320e..03a96a057a0bf7980811b9621b5b472fc9e81135 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);
     };
 
 
@@ -71,48 +71,48 @@ II) Approach
 III) Analysis of in-tree drivers
 --------------------------------
 
-  1) drivers/hwmon/lm81.c
-  -----------------------
+  drivers/hwmon/lm81.c
+  --------------------
   The driver is standard dtt. Simple conversion is possible.
 
 
-  2) drivers/hwmon/ds1722.c
-  -------------------------
+  drivers/hwmon/ds1722.c
+  ----------------------
   The driver is not standard dtt, but interface is similar to dtt.
   The interface has to be changed in order to comply to above mentioned
   specification.
 
 
-  3) drivers/hwmon/ds1775.c
-  -------------------------
+  drivers/hwmon/ds1775.c
+  ----------------------
   The driver is standard dtt. Simple conversion is possible.
 
 
-  4) drivers/hwmon/lm73.c
-  -----------------------
+  drivers/hwmon/lm73.c
+  --------------------
   The driver is standard dtt. Simple conversion is possible.
 
 
-  5) drivers/hwmon/lm63.c
-  -----------------------
+  drivers/hwmon/lm63.c
+  --------------------
   The driver is standard dtt. Simple conversion is possible.
 
 
-  6) drivers/hwmon/adt7460.c
-  --------------------------
+  drivers/hwmon/adt7460.c
+  -----------------------
   The driver is standard dtt. Simple conversion is possible.
 
 
-  7) drivers/hwmon/lm75.c
-  -----------------------
+  drivers/hwmon/lm75.c
+  --------------------
   The driver is standard dtt. Simple conversion is possible.
 
 
-  8) drivers/hwmon/ds1621.c
-  -------------------------
+  drivers/hwmon/ds1621.c
+  ----------------------
   The driver is standard dtt. Simple conversion is possible.
 
 
-  9) drivers/hwmon/adm1021.c
-  --------------------------
+  drivers/hwmon/adm1021.c
+  -----------------------
   The driver is standard dtt. Simple conversion is possible.