commit | cd0109555bd118ddb8ee0df0ca5d8f9bd3d7a77f | [log] [tgz] |
---|---|---|
author | Simon Guinot <simon.guinot@sequanux.org> | Sat Sep 26 23:02:37 2015 +0200 |
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | Tue Nov 03 08:59:33 2015 +0100 |
tree | 5603c7bd720ed3f6c92302dc6b1bef4722cf2b3d | |
parent | ebc278f1575942d08ad3278b71cde99bd24eae63 [diff] |
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>