[PATCH v2 2/3] drivers/class: Add Legacy PM OPS usage check and warning to __class_register()

2014-01-06 Thread Shuah Khan
Add Legacy PM OPS usage checks to __class_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 2/3] drivers/class: Add Legacy PM OPS usage check and warning to __class_register()

2014-01-06 Thread Shuah Khan
Add Legacy PM OPS usage checks to __class_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