Searched refs:sch311x_gpio_pdev (Results 1 – 1 of 1) sorted by relevance
37 static struct platform_device *sch311x_gpio_pdev; variable376 sch311x_gpio_pdev = platform_device_alloc(DRV_NAME, -1); in sch311x_gpio_pdev_add()377 if (!sch311x_gpio_pdev) in sch311x_gpio_pdev_add()380 err = platform_device_add_data(sch311x_gpio_pdev, in sch311x_gpio_pdev_add()387 err = platform_device_add(sch311x_gpio_pdev); in sch311x_gpio_pdev_add()395 platform_device_put(sch311x_gpio_pdev); in sch311x_gpio_pdev_add()428 platform_device_unregister(sch311x_gpio_pdev); in sch311x_gpio_exit()