Skip to content

Commit

Permalink
drivers/leds/leds-gpio.c: use linux/gpio.h rather than asm/gpio.h
Browse files Browse the repository at this point in the history
Direct usage of the asm include has long been deprecated by the
introduction of gpiolib.

Signed-off-by: Mark Brown <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
broonie authored and torvalds committed Mar 23, 2012
1 parent 75cb2e1 commit 16db7f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/leds/leds-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/leds.h>
#include <linux/of_platform.h>
#include <linux/of_gpio.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/module.h>

#include <asm/gpio.h>

struct gpio_led_data {
struct led_classdev cdev;
unsigned gpio;
Expand Down

0 comments on commit 16db7f9

Please sign in to comment.