diff options
author | Simon Guinot <simon.guinot@sequanux.org> | 2015-09-27 00:02:37 +0300 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-11-03 10:59:33 +0300 |
commit | cd0109555bd118ddb8ee0df0ca5d8f9bd3d7a77f (patch) | |
tree | 5603c7bd720ed3f6c92302dc6b1bef4722cf2b3d /drivers/leds/leds-mc13783.c | |
parent | ebc278f1575942d08ad3278b71cde99bd24eae63 (diff) | |
download | linux-cd0109555bd118ddb8ee0df0ca5d8f9bd3d7a77f.tar.xz |
leds: netxbig: convert to use the devm_ functions
This patch converts the leds-netxbig driver to use the devres functions
devm_gpio_request_one() and devm_led_classdev_register(). This allows to
simplify the code a bit.
Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers/leds/leds-mc13783.c')
0 files changed, 0 insertions, 0 deletions