Searched refs:num_hogs (Results 1 – 1 of 1) sorted by relevance
810 unsigned int num_hogs = 0, idx = 0; in gpio_sim_add_hogs() local821 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()