[PATCH v2 3/3] driver: Add Legacy PM OPS usage check and warning to driver_register()

2014-01-06 Thread Shuah Khan
Add Legacy PM OPS usage checks to driver_register() function. If Legacy PM OPS usage is found, print warning message to indicate that the driver code needs updating to use Dev PM OPS interfaces. This will help serve as a way to track drivers that still use Legacy PM OPS and fix them. The Legacy

[PATCH v2 3/3] driver: Add Legacy PM OPS usage check and warning to driver_register()

2014-01-06 Thread Shuah Khan
Add Legacy PM OPS usage checks to driver_register() function. If Legacy PM OPS usage is found, print warning message to indicate that the driver code needs updating to use Dev PM OPS interfaces. This will help serve as a way to track drivers that still use Legacy PM OPS and fix them. The Legacy