diff options
| author | 2018-12-07 13:32:51 +0100 | |
|---|---|---|
| committer | 2018-12-08 18:59:35 +0100 | |
| commit | e5a0436dd08a18834c134ffd08295e36c6f85219 (patch) | |
| tree | d64cb663792ad71cbb4f43747f093b325b63e833 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | leds: gpio: Drop unneeded manual of_node assignment (diff) | |
| download | linux-dev-e5a0436dd08a18834c134ffd08295e36c6f85219.tar.xz linux-dev-e5a0436dd08a18834c134ffd08295e36c6f85219.zip | |
leds: pwm: Simplify with resource-managed devm_led_classdev_register()
Simplify the exit path with resource-managed version of registering LED
class device. The code should be functionally the same, except that on
device removal the led_pwm_priv->num_leds is not decremented to zero
(which should not have any effect as device is going away).
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
