Searched refs:sm501_device (Results 1 – 3 of 3) sorted by relevance
174 static struct platform_device sm501_device = { variable229 &sm501_device,
208 static struct platform_device sm501_device = { variable271 &sm501_device,
30 struct sm501_device { struct634 static struct sm501_device *to_sm_device(struct platform_device *pdev) in to_sm_device()636 return container_of(pdev, struct sm501_device, pdev); in to_sm_device()660 struct sm501_device *smdev; in sm501_create_subdev()662 smdev = kzalloc(sizeof(struct sm501_device) + in sm501_create_subdev()693 struct sm501_device *smdev = to_sm_device(pdev); in sm501_register_device()1600 struct sm501_device *smdev) in sm501_remove_sub()1608 struct sm501_device *smdev, *tmp; in sm501_dev_remove()