Home
last modified time | relevance | path

Searched refs:lednum (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/regulator/
Dwm8350-regulator.c1522 int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink, in wm8350_register_led() argument
1529 if (lednum >= ARRAY_SIZE(wm8350->pmic.led) || lednum < 0) { in wm8350_register_led()
1530 dev_err(wm8350->dev, "Invalid LED index %d\n", lednum); in wm8350_register_led()
1534 led = &wm8350->pmic.led[lednum]; in wm8350_register_led()
1537 dev_err(wm8350->dev, "LED %d already allocated\n", lednum); in wm8350_register_led()
1541 pdev = platform_device_alloc("wm8350-led", lednum); in wm8350_register_led()
1543 dev_err(wm8350->dev, "Failed to allocate LED %d\n", lednum); in wm8350_register_led()
1588 lednum, ret); in wm8350_register_led()
/linux-3.4.99/include/linux/mfd/wm8350/
Dpmic.h758 int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink,