[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1383868060.git.shuah.kh@samsung.com>
Date: Thu, 7 Nov 2013 17:03:47 -0700
From: Shuah Khan <shuah.kh@...sung.com>
To: gregkh@...uxfoundation.org, rjw@...ysocki.net
Cc: Shuah Khan <shuah.kh@...sung.com>, shuahkhan@...il.com,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] Add Legacy PM OPS usage checks to class, bus, and driver register functions
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(+)
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists