Searched refs:num_hogs (Results 1 – 1 of 1) sorted by relevance
737 unsigned int num_hogs = 0, idx = 0; in gpio_sim_add_hogs() local748 num_hogs++; in gpio_sim_add_hogs()752 if (!num_hogs) in gpio_sim_add_hogs()756 dev->hogs = kcalloc(num_hogs + 1, sizeof(*dev->hogs), GFP_KERNEL); in gpio_sim_add_hogs()