lkml.org 
[lkml]   [2022]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 07/36] pinctrl: axp209: Add missed header(s)
    Date
    Do not imply that some of the generic headers may be always included.
    Instead, include explicitly what we are direct user of.

    While at it, sort headers alphabetically.

    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    ---
    drivers/pinctrl/pinctrl-axp209.c | 8 +++++---
    1 file changed, 5 insertions(+), 3 deletions(-)

    diff --git a/drivers/pinctrl/pinctrl-axp209.c b/drivers/pinctrl/pinctrl-axp209.c
    index 7ab20ac15391..0bc1b381a2b8 100644
    --- a/drivers/pinctrl/pinctrl-axp209.c
    +++ b/drivers/pinctrl/pinctrl-axp209.c
    @@ -16,13 +16,15 @@
    #include <linux/module.h>
    #include <linux/of.h>
    #include <linux/of_device.h>
    -#include <linux/pinctrl/pinconf-generic.h>
    -#include <linux/pinctrl/pinctrl.h>
    -#include <linux/pinctrl/pinmux.h>
    #include <linux/platform_device.h>
    #include <linux/regmap.h>
    #include <linux/slab.h>

    +#include <linux/pinctrl/consumer.h>
    +#include <linux/pinctrl/pinconf-generic.h>
    +#include <linux/pinctrl/pinctrl.h>
    +#include <linux/pinctrl/pinmux.h>
    +
    #define AXP20X_GPIO_FUNCTIONS 0x7
    #define AXP20X_GPIO_FUNCTION_OUT_LOW 0
    #define AXP20X_GPIO_FUNCTION_OUT_HIGH 1
    --
    2.35.1
    \
     
     \ /
      Last update: 2022-10-10 22:22    [W:4.122 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site