Skip to content
Commit 44c606b0 authored by Denis Osterland-Heim's avatar Denis Osterland-Heim Committed by Pavel Machek
Browse files

leds: pwm: check result of led_pwm_set() in led_pwm_add()



led_pwm_set() now returns an error when setting the PWM fails.

Signed-off-by: default avatarDenis Osterland-Heim <Denis.Osterland@diehl.com>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent ba50e011
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment