Home
last modified time | relevance | path

Searched refs:device_remove_file (Results 1 – 25 of 166) sorted by relevance

1234567

/linux/arch/sh/drivers/dma/
H A Ddma-sysfs.c160 device_remove_file(dev, &dev_attr_dev_id); in dma_remove_sysfs_files()
161 device_remove_file(dev, &dev_attr_count); in dma_remove_sysfs_files()
162 device_remove_file(dev, &dev_attr_mode); in dma_remove_sysfs_files()
163 device_remove_file(dev, &dev_attr_flags); in dma_remove_sysfs_files()
164 device_remove_file(dev, &dev_attr_config); in dma_remove_sysfs_files()
/linux/drivers/macintosh/
H A Dtherm_adt746x.c454 device_remove_file(dev, &dev_attr_sensor1_temperature); in thermostat_remove_files()
455 device_remove_file(dev, &dev_attr_sensor2_temperature); in thermostat_remove_files()
456 device_remove_file(dev, &dev_attr_sensor1_limit); in thermostat_remove_files()
457 device_remove_file(dev, &dev_attr_sensor2_limit); in thermostat_remove_files()
458 device_remove_file(dev, &dev_attr_sensor1_location); in thermostat_remove_files()
459 device_remove_file(dev, &dev_attr_sensor2_location); in thermostat_remove_files()
460 device_remove_file(dev, &dev_attr_limit_adjust); in thermostat_remove_files()
461 device_remove_file(dev, &dev_attr_specified_fan_speed); in thermostat_remove_files()
462 device_remove_file(dev, &dev_attr_sensor1_fan_speed); in thermostat_remove_files()
464 device_remove_file(dev, &dev_attr_sensor2_fan_speed); in thermostat_remove_files()
/linux/arch/powerpc/kernel/
H A Deeh_sysfs.c130 device_remove_file(&pdev->dev, &dev_attr_eeh_notify_resume); in eeh_notify_resume_remove()
177 device_remove_file(&pdev->dev, &dev_attr_eeh_mode); in eeh_sysfs_remove_device()
178 device_remove_file(&pdev->dev, &dev_attr_eeh_pe_config_addr); in eeh_sysfs_remove_device()
179 device_remove_file(&pdev->dev, &dev_attr_eeh_pe_state); in eeh_sysfs_remove_device()
/linux/drivers/mfd/
H A Ducb1x00-assabet.c78 device_remove_file(&dev->ucb->dev, &dev_attr_batt_temp); in ucb1x00_assabet_remove()
79 device_remove_file(&dev->ucb->dev, &dev_attr_vcharger); in ucb1x00_assabet_remove()
80 device_remove_file(&dev->ucb->dev, &dev_attr_vbatt); in ucb1x00_assabet_remove()
H A Dtps65911-comparator.c148 device_remove_file(&pdev->dev, &dev_attr_comp2_threshold); in tps65911_comparator_remove()
149 device_remove_file(&pdev->dev, &dev_attr_comp1_threshold); in tps65911_comparator_remove()
/linux/drivers/hwmon/
H A Dw83l785ts.c201 device_remove_file(dev, &sensor_dev_attr_temp1_input.dev_attr); in w83l785ts_probe()
202 device_remove_file(dev, &sensor_dev_attr_temp1_max.dev_attr); in w83l785ts_probe()
211 device_remove_file(&client->dev, in w83l785ts_remove()
213 device_remove_file(&client->dev, in w83l785ts_remove()
H A Dibmpex.c419 device_remove_file(data->bmc_device, in ibmpex_find_sensors()
421 device_remove_file(data->bmc_device, &dev_attr_name.attr); in ibmpex_find_sensors()
426 device_remove_file(data->bmc_device, in ibmpex_find_sensors()
510 device_remove_file(data->bmc_device, in ibmpex_bmc_delete()
512 device_remove_file(data->bmc_device, &dev_attr_name.attr); in ibmpex_bmc_delete()
517 device_remove_file(data->bmc_device, in ibmpex_bmc_delete()
H A Dadcxx.c191 device_remove_file(&spi->dev, &ad_input[i].dev_attr); in adcxx_probe()
205 device_remove_file(&spi->dev, &ad_input[i].dev_attr); in adcxx_remove()
H A Dw83793.c1533 device_remove_file(dev, in w83793_remove()
1537 device_remove_file(dev, &sda_single_files[i].dev_attr); in w83793_remove()
1540 device_remove_file(dev, &w83793_vid[i].dev_attr); in w83793_remove()
1541 device_remove_file(dev, &dev_attr_vrm); in w83793_remove()
1544 device_remove_file(dev, &w83793_left_fan[i].dev_attr); in w83793_remove()
1547 device_remove_file(dev, &w83793_left_pwm[i].dev_attr); in w83793_remove()
1550 device_remove_file(dev, &w83793_temp[i].dev_attr); in w83793_remove()
1913 device_remove_file(dev, &w83793_sensor_attr_2[i].dev_attr); in w83793_probe()
1916 device_remove_file(dev, &sda_single_files[i].dev_attr); in w83793_probe()
1919 device_remove_file(dev, &w83793_vid[i].dev_attr); in w83793_probe()
[all …]
H A Di5k_amb.c382 device_remove_file(&pdev->dev, &dev_attr_name.attr); in i5k_amb_hwmon_init()
384 device_remove_file(&pdev->dev, &data->attrs[i].s_attr.dev_attr); in i5k_amb_hwmon_init()
557 device_remove_file(&pdev->dev, &dev_attr_name.attr); in i5k_amb_remove()
559 device_remove_file(&pdev->dev, &data->attrs[i].s_attr.dev_attr); in i5k_amb_remove()
/linux/drivers/platform/x86/intel/
H A Drst.c112 device_remove_file(&acpi->dev, &irst_timeout_attr); in irst_add()
119 device_remove_file(&acpi->dev, &irst_wakeup_attr); in irst_remove()
120 device_remove_file(&acpi->dev, &irst_timeout_attr); in irst_remove()
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c212 device_remove_file(dev, &dev_attr_interference); in b43legacy_sysfs_register()
220 device_remove_file(dev, &dev_attr_shortpreamble); in b43legacy_sysfs_unregister()
221 device_remove_file(dev, &dev_attr_interference); in b43legacy_sysfs_unregister()
/linux/drivers/spi/
H A Dspi-tle62x0.c282 device_remove_file(&spi->dev, gpio_attrs[ptr]); in tle62x0_probe()
284 device_remove_file(&spi->dev, &dev_attr_status_show); in tle62x0_probe()
297 device_remove_file(&spi->dev, gpio_attrs[ptr]); in tle62x0_remove()
299 device_remove_file(&spi->dev, &dev_attr_status_show); in tle62x0_remove()
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-sysfs.c449 device_remove_file(sfp->class_dev, in pvr2_sysfs_tear_down_debugifc()
453 device_remove_file(sfp->class_dev, in pvr2_sysfs_tear_down_debugifc()
508 device_remove_file(sfp->class_dev, in class_dev_destroy()
512 device_remove_file(sfp->class_dev, in class_dev_destroy()
516 device_remove_file(sfp->class_dev, in class_dev_destroy()
520 device_remove_file(sfp->class_dev, in class_dev_destroy()
524 device_remove_file(sfp->class_dev, in class_dev_destroy()
528 device_remove_file(sfp->class_dev, in class_dev_destroy()
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth_sysfs.c127 device_remove_file(dev, &dpaa_eth_attrs[--i]); in dpaa_eth_sysfs_init()
137 device_remove_file(dev, &dpaa_eth_attrs[i]); in dpaa_eth_sysfs_remove()
/linux/drivers/thermal/
H A Dthermal_hwmon.c205 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_add_hwmon_sysfs()
237 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_remove_hwmon_sysfs()
239 device_remove_file(hwmon->device, &temp->temp_crit.attr); in thermal_remove_hwmon_sysfs()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xgmi.c637 device_remove_file(adev->dev, &dev_attr_xgmi_device_id); in amdgpu_xgmi_sysfs_add_dev_info()
638 device_remove_file(adev->dev, &dev_attr_xgmi_physical_id); in amdgpu_xgmi_sysfs_add_dev_info()
639 device_remove_file(adev->dev, &dev_attr_xgmi_error); in amdgpu_xgmi_sysfs_add_dev_info()
640 device_remove_file(adev->dev, &dev_attr_xgmi_num_hops); in amdgpu_xgmi_sysfs_add_dev_info()
641 device_remove_file(adev->dev, &dev_attr_xgmi_num_links); in amdgpu_xgmi_sysfs_add_dev_info()
643 device_remove_file(adev->dev, &dev_attr_xgmi_port_num); in amdgpu_xgmi_sysfs_add_dev_info()
655 device_remove_file(adev->dev, &dev_attr_xgmi_device_id); in amdgpu_xgmi_sysfs_rem_dev_info()
656 device_remove_file(adev->dev, &dev_attr_xgmi_physical_id); in amdgpu_xgmi_sysfs_rem_dev_info()
657 device_remove_file(adev->dev, &dev_attr_xgmi_error); in amdgpu_xgmi_sysfs_rem_dev_info()
658 device_remove_file(adev->dev, &dev_attr_xgmi_num_hops); in amdgpu_xgmi_sysfs_rem_dev_info()
[all …]
/linux/drivers/hid/
H A Dhid-prodikeys.c703 device_remove_file(&pm->hdev->dev, sysfs_device_attr_octave); in pcmidi_snd_initialise()
705 device_remove_file(&pm->hdev->dev, sysfs_device_attr_sustain); in pcmidi_snd_initialise()
707 device_remove_file(&pm->hdev->dev, sysfs_device_attr_channel); in pcmidi_snd_initialise()
721 device_remove_file(&pm->hdev->dev, sysfs_device_attr_channel); in pcmidi_snd_terminate()
722 device_remove_file(&pm->hdev->dev, sysfs_device_attr_sustain); in pcmidi_snd_terminate()
723 device_remove_file(&pm->hdev->dev, sysfs_device_attr_octave); in pcmidi_snd_terminate()
/linux/drivers/usb/host/
H A Dehci-sysfs.c165 device_remove_file(controller, &dev_attr_companion); in remove_sysfs_files()
167 device_remove_file(controller, &dev_attr_uframe_periodic_max); in remove_sysfs_files()
/linux/drivers/platform/x86/
H A Dsony-laptop.c868 device_remove_file(&pd->dev, &handles->devattr); in sony_nc_handles_cleanup()
1948 device_remove_file(&pd->dev, &kbdbl_ctl->mode_attr); in sony_nc_kbd_backlight_setup()
1959 device_remove_file(&pd->dev, &kbdbl_ctl->mode_attr); in sony_nc_kbd_backlight_cleanup()
1961 device_remove_file(&pd->dev, &kbdbl_ctl->timeout_attr); in sony_nc_kbd_backlight_cleanup()
2105 device_remove_file(&pd->dev, &bcare_ctl->attrs[0]); in sony_nc_battery_care_setup()
2117 device_remove_file(&pd->dev, &bcare_ctl->attrs[0]); in sony_nc_battery_care_cleanup()
2119 device_remove_file(&pd->dev, &bcare_ctl->attrs[1]); in sony_nc_battery_care_cleanup()
2264 device_remove_file(&pd->dev, &th_handle->profiles_attr); in sony_nc_thermal_setup()
2274 device_remove_file(&pd->dev, &th_handle->profiles_attr); in sony_nc_thermal_cleanup()
2275 device_remove_file(&pd->dev, &th_handle->mode_attr); in sony_nc_thermal_cleanup()
[all …]
H A Dhuawei-wmi.c485 device_remove_file(&battery->dev, &dev_attr_charge_control_start_threshold); in huawei_wmi_battery_add()
492 device_remove_file(&battery->dev, &dev_attr_charge_control_start_threshold); in huawei_wmi_battery_remove()
493 device_remove_file(&battery->dev, &dev_attr_charge_control_end_threshold); in huawei_wmi_battery_remove()
524 device_remove_file(dev, &dev_attr_charge_control_thresholds); in huawei_wmi_battery_exit()
609 device_remove_file(dev, &dev_attr_fn_lock_state); in huawei_wmi_fn_lock_exit()
/linux/drivers/i2c/muxes/
H A Di2c-demux-pinctrl.c279 device_remove_file(&pdev->dev, &dev_attr_available_masters); in i2c_demux_pinctrl_probe()
296 device_remove_file(&pdev->dev, &dev_attr_current_master); in i2c_demux_pinctrl_remove()
297 device_remove_file(&pdev->dev, &dev_attr_available_masters); in i2c_demux_pinctrl_remove()
/linux/drivers/macintosh/ams/
H A Dams-core.c169 device_remove_file(&ams_info.of_dev->dev, &dev_attr_current); in ams_sensor_attach()
209 device_remove_file(&ams_info.of_dev->dev, &dev_attr_current); in ams_sensor_detach()
/linux/drivers/scsi/aic94xx/
H A Daic94xx_init.c471 device_remove_file(&asd_ha->pcidev->dev, &dev_attr_pcba_sn); in asd_create_dev_attrs()
473 device_remove_file(&asd_ha->pcidev->dev, &dev_attr_bios_build); in asd_create_dev_attrs()
475 device_remove_file(&asd_ha->pcidev->dev, &dev_attr_aic_revision); in asd_create_dev_attrs()
481 device_remove_file(&asd_ha->pcidev->dev, &dev_attr_aic_revision); in asd_remove_dev_attrs()
482 device_remove_file(&asd_ha->pcidev->dev, &dev_attr_bios_build); in asd_remove_dev_attrs()
483 device_remove_file(&asd_ha->pcidev->dev, &dev_attr_pcba_sn); in asd_remove_dev_attrs()
484 device_remove_file(&asd_ha->pcidev->dev, &dev_attr_update_bios); in asd_remove_dev_attrs()
/linux/drivers/misc/ocxl/
H A Dsysfs.c170 device_remove_file(&info->dev, &afu_attrs[i]); in ocxl_sysfs_register_afu()
184 device_remove_file(&info->dev, &afu_attrs[i]); in ocxl_sysfs_unregister_afu()

1234567