[PATCH 6.10 346/634] leds: gpio: Set num_leds after allocation