diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2020-09-20 01:15:36 +0300 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-09-30 19:53:12 +0300 |
commit | 38b393fec298569c8ec154c750a107299bc8385d (patch) | |
tree | d3817971fd4d23fbbac49b700c0d4d1a8d60755b /include | |
parent | c49d6cab0d7fde39297949c4da257db69999292e (diff) | |
download | linux-38b393fec298569c8ec154c750a107299bc8385d.tar.xz |
leds: tca6507: Absorb platform data
The only in-tree usage of this driver is via device-tree. No on else
includes linux/leds-tca6507.h, so absorb the definition of platdata
structure.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Cc: NeilBrown <neilb@suse.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/leds-tca6507.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/linux/leds-tca6507.h b/include/linux/leds-tca6507.h deleted file mode 100644 index 50d330ed1100..000000000000 --- a/include/linux/leds-tca6507.h +++ /dev/null @@ -1,21 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * TCA6507 LED chip driver. - * - * Copyright (C) 2011 Neil Brown <neil@brown.name> - */ - -#ifndef __LINUX_TCA6507_H -#define __LINUX_TCA6507_H -#include <linux/leds.h> - -struct tca6507_platform_data { - struct led_platform_data leds; -#ifdef CONFIG_GPIOLIB - int gpio_base; - void (*setup)(unsigned gpio_base, unsigned ngpio); -#endif -}; - -#define TCA6507_MAKE_GPIO 1 -#endif /* __LINUX_TCA6507_H*/ |