Searched refs:sel3350 (Results 1 – 3 of 3) sorted by relevance
152 struct sel3350_data *sel3350; in sel3350_probe() local155 sel3350 = devm_kzalloc(&pdev->dev, sizeof(struct sel3350_data), GFP_KERNEL); in sel3350_probe()156 if (!sel3350) in sel3350_probe()159 platform_set_drvdata(pdev, sel3350); in sel3350_probe()164 sel3350->leds_pdev = platform_device_register_data( in sel3350_probe()170 if (IS_ERR(sel3350->leds_pdev)) { in sel3350_probe()171 rs = PTR_ERR(sel3350->leds_pdev); in sel3350_probe()177 sel3350->ps_a_cfg_data.ps_detect = devm_gpiod_get(&pdev->dev, in sel3350_probe()180 sel3350->ps_a_cfg_data.ps_good = devm_gpiod_get(&pdev->dev, in sel3350_probe()183 ps_cfg.drv_data = &sel3350->ps_a_cfg_data; in sel3350_probe()[all …]
155 obj-$(CONFIG_SEL3350_PLATFORM) += sel3350-platform.o
1185 will be called sel3350-platform.