lkml.org 
[lkml]   [2013]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/3] Add Legacy PM OPS usage checks to class, bus, and driver register functions
On 11/07/2013 05:03 PM, Shuah Khan wrote:
> Add Legacy PM OPS usage checks to class, bus, and driver register functions.
> If Legacy PM OPS usage is found, print warning message to indicate 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.
>
> This patch set adds Legacy PM OPS usage check and warning to bus_register(),
> __class_register(), and driver_register() functions.
>
> Individual patches in this series are not dependent on each other. The only
> reason this is a series is for context and facilitating discussion on the
> overall change as opposed individual patches.
>
> Shuah Khan (3):
> drivers/bus: Add Legacy PM OPS usage check and warning to
> bus_register()
> drivers/class: Add Legacy PM OPS usage check and warning to
> __class_register()
> driver: Add Legacy PM OPS usage check and warning to driver_register()
>
> drivers/base/bus.c | 3 +++
> drivers/base/class.c | 4 ++++
> drivers/base/driver.c | 4 ++++
> 3 files changed, 11 insertions(+)
>

Greg/Rafael,

Any feedback on this series? Haven't gotten to it or don't like it?

-- Shuah

--
Shuah Khan
Senior Linux Kernel Developer - Open Source Group
Samsung Research America(Silicon Valley)
shuah.kh@samsung.com | (970) 672-0658


\
 
 \ /
  Last update: 2013-11-14 17:01    [W:0.098 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site