leds: Move Renesas TPU LED driver platform data
PATCH 1/1 leds: Move Renesas TPU LED driver platform data
From: Magnus Damm <[email protected]>
Use the platform_data include directory for the
TPU LED driver, as suggested by Paul Mundt.
Signed-off-by Magnus Damm <[email protected]>
---
drivers/leds/leds-renesas-tpu.c | 2 +- include/linux/leds-renesas-tpu.h | 14 -------------- include/linux/platform_data/leds-renesas-tpu.h | 14 ++++++++++++++ 3 files changed, 15 insertions(+), 15 deletions(-)
drivers/leds/leds-renesas-tpu.c +1 -1
@@ -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>
include/linux/leds-renesas-tpu.h deleted +0 -14
@@ -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__ */
include/linux/platform_data/leds-renesas-tpu.h new file +14 -0
@@ -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__ */