Home
last modified time | relevance | path

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

/openbmc/linux/drivers/edac/
H A Di7core_edac.c249 struct device *addrmatch_dev, *chancounts_dev; member
1180 pvt->chancounts_dev = kzalloc(sizeof(*pvt->chancounts_dev), in i7core_create_sysfs_devices()
1182 if (!pvt->chancounts_dev) { in i7core_create_sysfs_devices()
1188 pvt->chancounts_dev->bus = mci->dev.bus; in i7core_create_sysfs_devices()
1189 device_initialize(pvt->chancounts_dev); in i7core_create_sysfs_devices()
1190 pvt->chancounts_dev->parent = &mci->dev; in i7core_create_sysfs_devices()
1192 dev_set_drvdata(pvt->chancounts_dev, mci); in i7core_create_sysfs_devices()
1196 rc = device_add(pvt->chancounts_dev); in i7core_create_sysfs_devices()
1203 put_device(pvt->chancounts_dev); in i7core_create_sysfs_devices()
1219 device_del(pvt->chancounts_dev); in i7core_delete_sysfs_devices()
[all …]