Searched refs:n_peripherals (Results 1 – 1 of 1) sorted by relevance
779 int n_peripherals = 0; in chromeos_laptop_prepare_acpi_peripherals() local785 n_peripherals++; in chromeos_laptop_prepare_acpi_peripherals()788 if (!n_peripherals) in chromeos_laptop_prepare_acpi_peripherals()791 acpi_peripherals = kcalloc(n_peripherals, in chromeos_laptop_prepare_acpi_peripherals()819 cros_laptop->num_acpi_peripherals = n_peripherals; in chromeos_laptop_prepare_acpi_peripherals()