Searched refs:sch311x_gpio_pdev (Results 1 – 1 of 1) sorted by relevance
33 static struct platform_device *sch311x_gpio_pdev; variable387 sch311x_gpio_pdev = platform_device_alloc(DRV_NAME, -1); in sch311x_gpio_pdev_add()388 if (!sch311x_gpio_pdev) in sch311x_gpio_pdev_add()391 err = platform_device_add_data(sch311x_gpio_pdev, in sch311x_gpio_pdev_add()398 err = platform_device_add(sch311x_gpio_pdev); in sch311x_gpio_pdev_add()406 platform_device_put(sch311x_gpio_pdev); in sch311x_gpio_pdev_add()439 platform_device_unregister(sch311x_gpio_pdev); in sch311x_gpio_exit()