Searched refs:lid_dent (Results 1 – 1 of 1) sorted by relevance
60 struct dirent *lid_dent; in i830_lvds_acpi_lid_state() local78 lid_dent = readdir(lid_dir); in i830_lvds_acpi_lid_state()79 if (lid_dent == NULL) { in i830_lvds_acpi_lid_state()84 if (strcmp(lid_dent->d_name, ".") && in i830_lvds_acpi_lid_state()85 strcmp(lid_dent->d_name, "..")) { in i830_lvds_acpi_lid_state()89 state_name = malloc(strlen(ACPI_LID) + strlen(lid_dent->d_name) + 7); in i830_lvds_acpi_lid_state()90 memset(state_name, 0, strlen(ACPI_LID) + strlen(lid_dent->d_name) + 7); in i830_lvds_acpi_lid_state()92 strcat(state_name, lid_dent->d_name); in i830_lvds_acpi_lid_state()