Searched refs:sm501_device (Results 1 – 3 of 3) sorted by relevance
177 static struct platform_device sm501_device = { variable232 &sm501_device,
208 static struct platform_device sm501_device = { variable264 &sm501_device,
31 struct sm501_device { struct686 static struct sm501_device *to_sm_device(struct platform_device *pdev) in to_sm_device()688 return container_of(pdev, struct sm501_device, pdev); in to_sm_device()712 struct sm501_device *smdev; in sm501_create_subdev()714 smdev = kzalloc(sizeof(struct sm501_device) + in sm501_create_subdev()744 struct sm501_device *smdev = to_sm_device(pdev); in sm501_register_device()1678 struct sm501_device *smdev) in sm501_remove_sub()1686 struct sm501_device *smdev, *tmp; in sm501_dev_remove()