[PATCH] drm: cope with platformdev->id == -1

2012-03-06 Thread Rob Clark
From: Rob Clark If there are not multiple instances of a platform device, the id should apparently be set to -1. Which results in a odd looking bus-id like "platform:foodrm:-1". Probably we should just treat this case as id 0. Signed-off-by: Rob Clark ---

[PATCH] drm: cope with platformdev-id == -1

2012-03-06 Thread Rob Clark
From: Rob Clark r...@ti.com If there are not multiple instances of a platform device, the id should apparently be set to -1. Which results in a odd looking bus-id like platform:foodrm:-1. Probably we should just treat this case as id 0. Signed-off-by: Rob Clark r...@ti.com ---