Get a resource for a device
struct resource * platform_get_resource(struct platform_device * dev, unsigned int type, unsigned int num);
dev
platform device
type
resource type
num
resource index