edac, mips: don't change code that has been removed in edac/mips tree
[firefly-linux-kernel-4.4.55.git] / drivers / edac / edac_device.c
index 4b154593343a16977b00ca2e73f0577b9cd74462..45b8f4bdd773ca324c0e5f04f1c3c4a883bd03be 100644 (file)
@@ -56,7 +56,7 @@ static void edac_device_dump_device(struct edac_device_ctl_info *edac_dev)
  *
  *     The control structure is allocated in complete chunk
  *     from the OS. It is in turn sub allocated to the
- *     various objects that compose the struture
+ *     various objects that compose the structure
  *
  *     The structure has a 'nr_instance' array within itself.
  *     Each instance represents a major component
@@ -118,7 +118,7 @@ struct edac_device_ctl_info *edac_device_alloc_ctl_info(
                /* Calc the 'end' offset past the attributes array */
                pvt = edac_align_ptr(&dev_attrib[count], sz_private);
        } else {
-               /* no attribute array specificed */
+               /* no attribute array specified */
                pvt = edac_align_ptr(dev_attrib, sz_private);
        }
 
@@ -394,7 +394,7 @@ static void edac_device_workq_function(struct work_struct *work_req)
 
        /* Reschedule the workq for the next time period to start again
         * if the number of msec is for 1 sec, then adjust to the next
-        * whole one second to save timers fireing all over the period
+        * whole one second to save timers firing all over the period
         * between integral seconds
         */
        if (edac_dev->poll_msec == 1000)
@@ -563,7 +563,7 @@ EXPORT_SYMBOL_GPL(edac_device_add_device);
  *     Remove sysfs entries for specified edac_device structure and
  *     then remove edac_device structure from global list
  *
- * @pdev:
+ * @dev:
  *     Pointer to 'struct device' representing edac_device
  *     structure to remove.
  *