]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
power: supply: ipaq_micro: Simplify with devm
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Thu, 5 Mar 2026 21:45:45 +0000 (22:45 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 11 Mar 2026 05:58:00 +0000 (06:58 +0100)
commit2cfc7cac68e19c4acb236b8db6065bbaff5deee8
tree846b149bfefef3fbc672b6b8c73c1dcbaa684f61
parentf23afa01040a41882a048e4957a7acac1426da6f
power: supply: ipaq_micro: Simplify with devm

Simplify the driver by using devm interfaces, which allow to drop
probe() error paths and the remove() callback.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260305-workqueue-devm-v2-6-66a38741c652@oss.qualcomm.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ipaq_micro_battery.c