Home
last modified time | relevance | path

Searched refs:addrmatch_dev (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/edac/
H A Di7core_edac.c1162 pvt->addrmatch_dev = kzalloc(sizeof(*pvt->addrmatch_dev), GFP_KERNEL); in i7core_create_sysfs_devices()
1163 if (!pvt->addrmatch_dev) in i7core_create_sysfs_devices()
1167 pvt->addrmatch_dev->bus = mci->dev.bus; in i7core_create_sysfs_devices()
1168 device_initialize(pvt->addrmatch_dev); in i7core_create_sysfs_devices()
1169 pvt->addrmatch_dev->parent = &mci->dev; in i7core_create_sysfs_devices()
1171 dev_set_drvdata(pvt->addrmatch_dev, mci); in i7core_create_sysfs_devices()
1175 rc = device_add(pvt->addrmatch_dev); in i7core_create_sysfs_devices()
1205 device_del(pvt->addrmatch_dev); in i7core_create_sysfs_devices()
1207 put_device(pvt->addrmatch_dev); in i7core_create_sysfs_devices()
1222 device_del(pvt->addrmatch_dev); in i7core_delete_sysfs_devices()
[all …]