Lines Matching refs:pdata
16 * @pdata: the platform data used for the new device
18 * Makes a copy of pdata and pdata->leds and registers a new leds-gpio device
19 * with the result. This allows to have pdata and pdata-leds in .init.rodata
26 int id, const struct gpio_led_platform_data *pdata)
29 struct gpio_led_platform_data _pdata = *pdata;
31 _pdata.leds = kmemdup(pdata->leds,
32 pdata->num_leds * sizeof(*pdata->leds), GFP_KERNEL);