Home
last modified time | relevance | path

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

123456

/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()
H A Dwm831x-otp.c78 device_remove_file(wm831x->dev, &dev_attr_unique_id); in wm831x_otp_exit()
/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 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 …]
/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/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/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/hid/
H A Dhid-prodikeys.c699 device_remove_file(&pm->hdev->dev, sysfs_device_attr_octave); in pcmidi_snd_initialise()
701 device_remove_file(&pm->hdev->dev, sysfs_device_attr_sustain); in pcmidi_snd_initialise()
703 device_remove_file(&pm->hdev->dev, sysfs_device_attr_channel); in pcmidi_snd_initialise()
717 device_remove_file(&pm->hdev->dev, sysfs_device_attr_channel); in pcmidi_snd_terminate()
718 device_remove_file(&pm->hdev->dev, sysfs_device_attr_sustain); in pcmidi_snd_terminate()
719 device_remove_file(&pm->hdev->dev, sysfs_device_attr_octave); in pcmidi_snd_terminate()
/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/staging/fbtft/
H A Dfbtft-sysfs.c213 device_remove_file(par->info->dev, &debug_device_attr); in fbtft_sysfs_exit()
215 device_remove_file(par->info->dev, &gamma_device_attrs[0]); in fbtft_sysfs_exit()
/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()
/linux/drivers/input/mouse/
H A Dhgpk.c901 device_remove_file(&psmouse->ps2dev.serio->dev, in hgpk_disconnect()
903 device_remove_file(&psmouse->ps2dev.serio->dev, in hgpk_disconnect()
907 device_remove_file(&psmouse->ps2dev.serio->dev, in hgpk_disconnect()
971 device_remove_file(&psmouse->ps2dev.serio->dev, in hgpk_register()
974 device_remove_file(&psmouse->ps2dev.serio->dev, in hgpk_register()
/linux/arch/powerpc/platforms/pseries/
H A Dpseries_energy.c350 device_remove_file(dev_root, &attr_cpu_activate_hint_list); in pseries_energy_cleanup()
351 device_remove_file(dev_root, &attr_cpu_deactivate_hint_list); in pseries_energy_cleanup()
/linux/arch/sparc/kernel/
H A Dsysfs.c168 device_remove_file(s, &dev_attr_mmustat_enable); in unregister_mmu_stats()
230 device_remove_file(s, &cpu_core_attrs[i]); in unregister_cpu_online()

123456