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 { struct677 static struct sm501_device *to_sm_device(struct platform_device *pdev) in to_sm_device()679 return container_of(pdev, struct sm501_device, pdev); in to_sm_device()703 struct sm501_device *smdev; in sm501_create_subdev()705 smdev = kzalloc(sizeof(struct sm501_device) + in sm501_create_subdev()736 struct sm501_device *smdev = to_sm_device(pdev); in sm501_register_device()1640 struct sm501_device *smdev) in sm501_remove_sub()1648 struct sm501_device *smdev, *tmp; in sm501_dev_remove()