aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_device_sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/edac_device_sysfs.c')
-rw-r--r--drivers/edac/edac_device_sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/edac/edac_device_sysfs.c b/drivers/edac/edac_device_sysfs.c
index 400de071cabc..86649df00285 100644
--- a/drivers/edac/edac_device_sysfs.c
+++ b/drivers/edac/edac_device_sysfs.c
@@ -533,7 +533,7 @@ static int edac_device_create_block(struct edac_device_ctl_info *edac_dev,
533 memset(&block->kobj, 0, sizeof(struct kobject)); 533 memset(&block->kobj, 0, sizeof(struct kobject));
534 534
535 /* bump the main kobject's reference count for this controller 535 /* bump the main kobject's reference count for this controller
536 * and this instance is dependant on the main 536 * and this instance is dependent on the main
537 */ 537 */
538 main_kobj = kobject_get(&edac_dev->kobj); 538 main_kobj = kobject_get(&edac_dev->kobj);
539 if (!main_kobj) { 539 if (!main_kobj) {
@@ -635,7 +635,7 @@ static int edac_device_create_instance(struct edac_device_ctl_info *edac_dev,
635 instance->ctl = edac_dev; 635 instance->ctl = edac_dev;
636 636
637 /* bump the main kobject's reference count for this controller 637 /* bump the main kobject's reference count for this controller
638 * and this instance is dependant on the main 638 * and this instance is dependent on the main
639 */ 639 */
640 main_kobj = kobject_get(&edac_dev->kobj); 640 main_kobj = kobject_get(&edac_dev->kobj);
641 if (!main_kobj) { 641 if (!main_kobj) {