Searched refs:chancounts_dev (Results 1 – 1 of 1) sorted by relevance
251 struct device *addrmatch_dev, *chancounts_dev; member1183 pvt->chancounts_dev = kzalloc(sizeof(*pvt->chancounts_dev), in i7core_create_sysfs_devices()1185 if (!pvt->chancounts_dev) { in i7core_create_sysfs_devices()1190 pvt->chancounts_dev->type = &all_channel_counts_type; in i7core_create_sysfs_devices()1191 pvt->chancounts_dev->bus = mci->dev.bus; in i7core_create_sysfs_devices()1192 device_initialize(pvt->chancounts_dev); in i7core_create_sysfs_devices()1193 pvt->chancounts_dev->parent = &mci->dev; in i7core_create_sysfs_devices()1194 dev_set_name(pvt->chancounts_dev, "all_channel_counts"); in i7core_create_sysfs_devices()1195 dev_set_drvdata(pvt->chancounts_dev, mci); in i7core_create_sysfs_devices()1197 edac_dbg(1, "creating %s\n", dev_name(pvt->chancounts_dev)); in i7core_create_sysfs_devices()[all …]