]> www.infradead.org Git - users/jedix/linux-maple.git/commit
misc: apds990x: Fix missing pm_runtime_disable()
authorJinjie Ruan <ruanjinjie@huawei.com>
Mon, 23 Sep 2024 03:55:56 +0000 (11:55 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2024 15:10:53 +0000 (17:10 +0200)
commit3c5d8b819d27012264edd17e6ae7fffda382fe44
tree4649ed17f8db05ae76fb645edc519b56e5213f78
parent9b85df5d3fe7361ad66b97a5c7bf1cdfec8fb184
misc: apds990x: Fix missing pm_runtime_disable()

The pm_runtime_disable() is missing in probe error path,
so add it to fix it.

Fixes: 92b1f84d46b2 ("drivers/misc: driver for APDS990X ALS and proximity sensors")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20240923035556.3009105-1-ruanjinjie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/apds990x.c