platform_get_resource — get a resource for a device
struct resource * platform_get_resource (
)
dev
platform device
type
resource type
num
resource index