On Tue, Dec 25, 2018 at 12:08 AM Aditya Pakki wrote:
>
> In function alienware_zone_init, the function led_classdev_register
> can return an error on failure. The fix checks the error and frees
> the allocated resources.
>
I'm not sure about this.
Is the LED registration fatal?
> Signed-off-by:
In function alienware_zone_init, the function led_classdev_register
can return an error on failure. The fix checks the error and frees
the allocated resources.
Signed-off-by: Aditya Pakki
---
drivers/platform/x86/alienware-wmi.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
2 matches
Mail list logo