summaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2018-06-27 20:52:34 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-07-03 22:12:40 +0200
commitd8be286739d6317b2c4b2a6c2cbf63d76410ff90 (patch)
tree3bd1657d7bbe38970c655db61fdf3e6e5e07f787 /scripts/bpf_helpers_doc.py
parentf041f96abcf8718540e94aac6e73604c5d33d9f9 (diff)
leds: lt3593: merge functions and clean up code
In preparation to DT probe functionality, merge create_lt3593_led() into its only call-site. The DT based setup code will be quite different, so this internal helper function is of no help. This also changes the way the driver works by only handling one entry inside 'struct gpio_led_platform_data'. If multiple devices of the same type are found in a design, there should be a platform device for each of them. The only mainline user of this driver is not affected by this change. Last, use devm_led_classdev_register() instead of led_classdev_register(), so the driver's remove callback can go away. Signed-off-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions