UPSTREAM: HID: google: switch to devm when registering keyboard backlight LED

We can use devm to register keyboard backlight LED on hammer devices, this
will allow us to use HID's driver data for something else later.

Link: https://lore.kernel.org/r/20220228075446.466016-2-dmitry.torokhov@gmail.com
Tested-by: Stephen Boyd <swboyd@chromium.org> # coachz, wormdingler
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
(cherry picked from commit d950db3f80a801797ec09cf6a410b19621a6e243)

BUG=b:233576142, b:214593871, b:229004203
TEST=USE="kasan" emerge-strongbad chromeos-kernel-5_4
     disconnect keyboard on coachz

Change-Id: Id198d9cd00a3b2619ce5409115059997de81d790
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3665266
Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
1 file changed