Searched refs:sch311x_gpio_pdev (Results 1 – 1 of 1) sorted by relevance
33 static struct platform_device *sch311x_gpio_pdev; variable409 sch311x_gpio_pdev = platform_device_alloc(DRV_NAME, -1); in sch311x_gpio_pdev_add()410 if (!sch311x_gpio_pdev) in sch311x_gpio_pdev_add()413 err = platform_device_add_data(sch311x_gpio_pdev, in sch311x_gpio_pdev_add()420 err = platform_device_add(sch311x_gpio_pdev); in sch311x_gpio_pdev_add()428 platform_device_put(sch311x_gpio_pdev); in sch311x_gpio_pdev_add()461 platform_device_unregister(sch311x_gpio_pdev); in sch311x_gpio_exit()