Home
last modified time | relevance | path

Searched refs:num_hogs (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpio/
H A Dgpio-sim.c810 unsigned int num_hogs = 0, idx = 0; in gpio_sim_add_hogs() local
821 num_hogs++; in gpio_sim_add_hogs()
825 if (!num_hogs) in gpio_sim_add_hogs()
829 dev->hogs = kcalloc(num_hogs + 1, sizeof(*dev->hogs), GFP_KERNEL); in gpio_sim_add_hogs()