Searched refs:n_peripherals (Results 1 – 1 of 1) sorted by relevance
799 int n_peripherals = 0; in chromeos_laptop_prepare_acpi_peripherals() local805 n_peripherals++; in chromeos_laptop_prepare_acpi_peripherals()808 if (!n_peripherals) in chromeos_laptop_prepare_acpi_peripherals()811 acpi_peripherals = kcalloc(n_peripherals, in chromeos_laptop_prepare_acpi_peripherals()839 cros_laptop->num_acpi_peripherals = n_peripherals; in chromeos_laptop_prepare_acpi_peripherals()