Searched refs:n_peripherals (Results 1 – 1 of 1) sorted by relevance
775 int n_peripherals = 0; in chromeos_laptop_prepare_acpi_peripherals() local781 n_peripherals++; in chromeos_laptop_prepare_acpi_peripherals()784 if (!n_peripherals) in chromeos_laptop_prepare_acpi_peripherals()787 acpi_peripherals = kcalloc(n_peripherals, in chromeos_laptop_prepare_acpi_peripherals()815 cros_laptop->num_acpi_peripherals = n_peripherals; in chromeos_laptop_prepare_acpi_peripherals()