Re: [PATCH] hid: Add checks to fix of_led_classdev_register

From: Jiri Kosina
Date: Thu Jan 03 2019 - 05:31:01 EST


On Mon, 24 Dec 2018, Aditya Pakki wrote:

> In lenovo_probe_tpkbd(), the function of_led_classdev_register() could
> return an error value that is unchecked. The fix adds these checks.

Applied, thanks.

--
Jiri Kosina
SUSE Labs