drivers/leds/leds-renesas-tpu.c: move Renesas TPU LED driver platform data
authorMagnus Damm <damm@opensource.se>
Tue, 1 Nov 2011 00:12:09 +0000 (17:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Nov 2011 00:30:55 +0000 (17:30 -0700)
Use the platform_data include directory for the TPU LED driver, as
suggested by Paul Mundt.

Signed-off-by: Magnus Damm <damm@opensource.se>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/leds/leds-renesas-tpu.c
include/linux/leds-renesas-tpu.h [deleted file]
include/linux/platform_data/leds-renesas-tpu.h [new file with mode: 0644]

index 45dbdf58f5eec433b564845861ee79740512334e..3ee540eb127e7ffadfd0d5c2e471dc14380fa307 100644 (file)
@@ -26,7 +26,7 @@
 #include <linux/io.h>
 #include <linux/clk.h>
 #include <linux/leds.h>
-#include <linux/leds-renesas-tpu.h>
+#include <linux/platform_data/leds-renesas-tpu.h>
 #include <linux/gpio.h>
 #include <linux/err.h>
 #include <linux/slab.h>
diff --git a/include/linux/leds-renesas-tpu.h b/include/linux/leds-renesas-tpu.h
deleted file mode 100644 (file)
index 0553870..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef __LEDS_RENESAS_TPU_H__
-#define __LEDS_RENESAS_TPU_H__
-
-struct led_renesas_tpu_config {
-       char *name;
-       unsigned pin_gpio_fn;
-       unsigned pin_gpio;
-       unsigned int channel_offset;
-       unsigned int timer_bit;
-       unsigned int max_brightness;
-       unsigned int refresh_rate;
-};
-
-#endif /* __LEDS_RENESAS_TPU_H__ */
diff --git a/include/linux/platform_data/leds-renesas-tpu.h b/include/linux/platform_data/leds-renesas-tpu.h
new file mode 100644 (file)
index 0000000..0553870
--- /dev/null
@@ -0,0 +1,14 @@
+#ifndef __LEDS_RENESAS_TPU_H__
+#define __LEDS_RENESAS_TPU_H__
+
+struct led_renesas_tpu_config {
+       char *name;
+       unsigned pin_gpio_fn;
+       unsigned pin_gpio;
+       unsigned int channel_offset;
+       unsigned int timer_bit;
+       unsigned int max_brightness;
+       unsigned int refresh_rate;
+};
+
+#endif /* __LEDS_RENESAS_TPU_H__ */