#define to_platform_device(x) container_of((x), struct platform_device, dev)