Searched refs:nres_num (Results 1 – 1 of 1) sorted by relevance
1632 int nres_num = pdev->num_resources + ARRAY_SIZE(sc8180x_tiles) - 1; in sc8180x_pinctrl_add_tile_resources() local1644 nres = devm_kzalloc(&pdev->dev, sizeof(*nres) * nres_num, GFP_KERNEL); in sc8180x_pinctrl_add_tile_resources()1677 ret = platform_device_add_resources(pdev, nres, nres_num); in sc8180x_pinctrl_add_tile_resources()