[PATCH 1/4] core: platform: add warning if driver has no owner

2014-10-20 Thread Wolfram Sang
Commit 9447057eaff8 ("platform_device: use a macro instead of platform_driver_register") introduced a codepath which could result into drivers having no owner. This went unnoticed for months, so add a warning in case this happens again somewhere else somewhen. Signed-off-by: Wolfram Sang ---

[PATCH 1/4] core: platform: add warning if driver has no owner

2014-10-20 Thread Wolfram Sang
Commit 9447057eaff8 (platform_device: use a macro instead of platform_driver_register) introduced a codepath which could result into drivers having no owner. This went unnoticed for months, so add a warning in case this happens again somewhere else somewhen. Signed-off-by: Wolfram Sang