aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/edac_device.c')
-rw-r--r--drivers/edac/edac_device.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c
index 4b154593343a..da4a1f11939f 100644
--- a/drivers/edac/edac_device.c
+++ b/drivers/edac/edac_device.c
@@ -56,7 +56,7 @@ static void edac_device_dump_device(struct edac_device_ctl_info *edac_dev)
56 * 56 *
57 * The control structure is allocated in complete chunk 57 * The control structure is allocated in complete chunk
58 * from the OS. It is in turn sub allocated to the 58 * from the OS. It is in turn sub allocated to the
59 * various objects that compose the struture 59 * various objects that compose the structure
60 * 60 *
61 * The structure has a 'nr_instance' array within itself. 61 * The structure has a 'nr_instance' array within itself.
62 * Each instance represents a major component 62 * Each instance represents a major component
@@ -118,7 +118,7 @@ struct edac_device_ctl_info *edac_device_alloc_ctl_info(
118 /* Calc the 'end' offset past the attributes array */ 118 /* Calc the 'end' offset past the attributes array */
119 pvt = edac_align_ptr(&dev_attrib[count], sz_private); 119 pvt = edac_align_ptr(&dev_attrib[count], sz_private);
120 } else { 120 } else {
121 /* no attribute array specificed */ 121 /* no attribute array specified */
122 pvt = edac_align_ptr(dev_attrib, sz_private); 122 pvt = edac_align_ptr(dev_attrib, sz_private);
123 } 123 }
124 124
@@ -367,7 +367,7 @@ static void del_edac_device_from_global_list(struct edac_device_ctl_info
367 * structure, that needs to be polled for possible error events. 367 * structure, that needs to be polled for possible error events.
368 * 368 *
369 * This operation is to acquire the list mutex lock 369 * This operation is to acquire the list mutex lock
370 * (thus preventing insertation or deletion) 370 * (thus preventing insertion or deletion)
371 * and then call the device's poll function IFF this device is 371 * and then call the device's poll function IFF this device is
372 * running polled and there is a poll function defined. 372 * running polled and there is a poll function defined.
373 */ 373 */
@@ -394,7 +394,7 @@ static void edac_device_workq_function(struct work_struct *work_req)
394 394
395 /* Reschedule the workq for the next time period to start again 395 /* Reschedule the workq for the next time period to start again
396 * if the number of msec is for 1 sec, then adjust to the next 396 * if the number of msec is for 1 sec, then adjust to the next
397 * whole one second to save timers fireing all over the period 397 * whole one second to save timers firing all over the period
398 * between integral seconds 398 * between integral seconds
399 */ 399 */
400 if (edac_dev->poll_msec == 1000) 400 if (edac_dev->poll_msec == 1000)
@@ -563,7 +563,7 @@ EXPORT_SYMBOL_GPL(edac_device_add_device);
563 * Remove sysfs entries for specified edac_device structure and 563 * Remove sysfs entries for specified edac_device structure and
564 * then remove edac_device structure from global list 564 * then remove edac_device structure from global list
565 * 565 *
566 * @pdev: 566 * @dev:
567 * Pointer to 'struct device' representing edac_device 567 * Pointer to 'struct device' representing edac_device
568 * structure to remove. 568 * structure to remove.
569 * 569 *