Searched refs:sm501_device (Results 1 – 3 of 3) sorted by relevance
177 static struct platform_device sm501_device = { variable232 &sm501_device,
211 static struct platform_device sm501_device = { variable274 &sm501_device,
32 struct sm501_device { struct679 static struct sm501_device *to_sm_device(struct platform_device *pdev) in to_sm_device()681 return container_of(pdev, struct sm501_device, pdev); in to_sm_device()705 struct sm501_device *smdev; in sm501_create_subdev()707 smdev = kzalloc(sizeof(struct sm501_device) + in sm501_create_subdev()738 struct sm501_device *smdev = to_sm_device(pdev); in sm501_register_device()1653 struct sm501_device *smdev) in sm501_remove_sub()1661 struct sm501_device *smdev, *tmp; in sm501_dev_remove()