summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/intel/pinctrl-cannonlake.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-09-04 14:26:17 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-09-18 16:37:19 -0700
commit677506ee09b98d5eaf6921c53f8412e5bd912514 (patch)
tree0e37361442c4781d28dded37022f95f3a259d98f /drivers/pinctrl/intel/pinctrl-cannonlake.c
parent55818b90233bc13cbc46083e5ce0ea7f3c169aeb (diff)
pinctrl: intel: Move linux/pm.h to the local header
We now using a common macro for PM operations in pin control drivers for Intel SoCs, and since that macro relies on the definition and macro from linux/pm.h header file, it's logical to include it directly in pinctrl-intel.h. Otherwise it's a bit fragile and requires a proper ordering of header inclusion in C files. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/intel/pinctrl-cannonlake.c')
-rw-r--r--drivers/pinctrl/intel/pinctrl-cannonlake.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-cannonlake.c b/drivers/pinctrl/intel/pinctrl-cannonlake.c
index 88ff67573197..bd0a5f137f73 100644
--- a/drivers/pinctrl/intel/pinctrl-cannonlake.c
+++ b/drivers/pinctrl/intel/pinctrl-cannonlake.c
@@ -10,7 +10,6 @@
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
-#include <linux/pm.h>
#include <linux/pinctrl/pinctrl.h>