Skip to content

Commit 7e2dc43

Browse files
elkablopavelmachek
authored andcommitted
leds: tca6507: remove binding comment
Remove the binding comment at the beginning. The information for platdata is now obsolete and DT binding is documented in device-tree bindings. Signed-off-by: Marek Behún <marek.behun@nic.cz> Cc: NeilBrown <neilb@suse.de> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: H. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
1 parent c1ff1a1 commit 7e2dc43

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

‎drivers/leds/leds-tca6507.c‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -69,23 +69,6 @@
6969
* defaulted. Similarly the banks know if each time was explicit or a
7070
* default. Defaults are permitted to be changed freely - they are
7171
* not recognised when matching.
72-
*
73-
*
74-
* An led-tca6507 device must be provided with platform data or
75-
* configured via devicetree.
76-
*
77-
* The platform-data lists for each output: the name, default trigger,
78-
* and whether the signal is being used as a GPIO rather than an LED.
79-
* 'struct led_plaform_data' is used for this. If 'name' is NULL, the
80-
* output isn't used. If 'flags' is TCA6507_MAKE_GPIO, the output is
81-
* a GPO. The "struct led_platform_data" can be embedded in a "struct
82-
* tca6507_platform_data" which adds a 'gpio_base' for the GPIOs, and
83-
* a 'setup' callback which is called once the GPIOs are available.
84-
*
85-
* When configured via devicetree there is one child for each output.
86-
* The "reg" determines the output number and "compatible" determines
87-
* whether it is an LED or a GPIO. "linux,default-trigger" can set a
88-
* default trigger.
8972
*/
9073

9174
#include <linux/module.h>

0 commit comments

Comments
 (0)