mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
driver-core: remove sysdev.h usage.
The sysdev.h file should not be needed by any in-kernel code, so remove the .h file from these random files that seem to still want to include it. The sysdev code will be going away soon, so this include needs to be removed no matter what. Cc: Jiandong Zheng <[email protected]> Cc: Scott Branden <[email protected]> Cc: Russell King <[email protected]> Cc: Kukjin Kim <[email protected]> Cc: David Brown <[email protected]> Cc: Daniel Walker <[email protected]> Cc: Bryan Huntsman <[email protected]> Cc: Ben Dooks <[email protected]> Cc: Wan ZongShun <[email protected]> Cc: Haavard Skinnemoen <[email protected]> Cc: Hans-Christian Egtvedt <[email protected]> Cc: Guan Xuetao <[email protected]> Cc: "Venkatesh Pallipadi Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Grant Likely <[email protected]> Cc: Richard Purdie <[email protected]> Cc: Matthew Garrett <[email protected]> Signed-off-by: Kay Sievers <[email protected]>
This commit is contained in:
parent
7239f65cf3
commit
edbaa603eb
63 changed files with 49 additions and 66 deletions
|
|
@ -32,7 +32,6 @@
|
|||
#include <linux/completion.h>
|
||||
#include <linux/miscdevice.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/sysdev.h>
|
||||
#include <linux/poll.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/of_device.h>
|
||||
|
|
@ -681,9 +680,6 @@ static struct platform_driver smu_of_platform_driver =
|
|||
static int __init smu_init_sysfs(void)
|
||||
{
|
||||
/*
|
||||
* Due to sysfs bogosity, a sysdev is not a real device, so
|
||||
* we should in fact create both if we want sysdev semantics
|
||||
* for power management.
|
||||
* For now, we don't power manage machines with an SMU chip,
|
||||
* I'm a bit too far from figuring out how that works with those
|
||||
* new chipsets, but that will come back and bite us
|
||||
|
|
|
|||
Loading…
Reference in a new issue