Searched refs:f_dev (Results 1 – 2 of 2) sorted by relevance
77 struct device *f_dev = &fw_sysfs->dev; in fw_load_sysfs_fallback() local84 dev_set_uevent_suppress(f_dev, true); in fw_load_sysfs_fallback()86 retval = device_add(f_dev); in fw_load_sysfs_fallback()88 dev_err(f_dev, "%s: device_register failed\n", __func__); in fw_load_sysfs_fallback()103 dev_set_uevent_suppress(f_dev, false); in fw_load_sysfs_fallback()104 dev_dbg(f_dev, "firmware: requesting %s\n", fw_priv->fw_name); in fw_load_sysfs_fallback()124 device_del(f_dev); in fw_load_sysfs_fallback()126 put_device(f_dev); in fw_load_sysfs_fallback()
400 struct device *f_dev; in fw_create_instance() local410 f_dev = &fw_sysfs->dev; in fw_create_instance()412 device_initialize(f_dev); in fw_create_instance()413 dev_set_name(f_dev, "%s", fw_name); in fw_create_instance()414 f_dev->parent = device; in fw_create_instance()415 f_dev->class = &firmware_class; in fw_create_instance()416 f_dev->groups = fw_dev_attr_groups; in fw_create_instance()