[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL9uMOFYk5ru3P96xVTyH_ayq6jiOhn7E1wXLH-BsahYtXP2JA@mail.gmail.com>
Date: Wed, 12 Apr 2017 10:50:16 +0200
From: Carlo Caione <carlo@...lessm.com>
To: Benjamin Tissoires <benjamin.tissoires@...hat.com>
Cc: Carlo Caione <carlo@...one.org>, jikos@...nel.org,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
Linux Upstreaming Team <linux@...lessm.com>
Subject: Re: [PATCH v3] HID: asus: support backlight on USB keyboards
On Mon, Apr 10, 2017 at 8:39 AM, Benjamin Tissoires
<benjamin.tissoires@...hat.com> wrote:
> On Apr 06 2017 or thereabouts, Carlo Caione wrote:
>> + ret = devm_led_classdev_register(&hdev->dev, &drvdata->kbd_backlight->cdev);
>> + if (ret < 0) {
>> + /* No need to have this still around */
>> + devm_kfree(&hdev->dev, drvdata->kbd_backlight);
>> + cancel_work_sync(&drvdata->kbd_backlight->work);
>
> Small nitpick, you don't need to call cancel_work_sync() here, nobody
> could have called a worker. But OTOH, it doesn't hurt.
>
> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@...hat.com>
Thanks Benjamin. Who should pick this up?
--
Carlo Caione | +39.340.80.30.096 | Endless
Powered by blists - more mailing lists