• Linus Walleij's avatar
    leds: lgm: Fix up includes · 7b97174c
    Linus Walleij authored
    This driver is including the legacy GPIO header <linux/gpio.h>
    but the only thing it is using from that header is the wrong
    define for GPIOF_DIR_OUT.
    
    Fix it up by using GPIO_LINE_DIRECTION_OUT and including the
    correct consumer and driver headers.
    
    Cc: Amireddy Mallikarjuna reddy <mallikarjunax.reddy@linux.intel.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
    7b97174c
leds-lgm-sso.c 20.3 KB