From: Waqar Hameed <waqar.hameed@axis.com>
To: Sebastian Reichel <sre@kernel.org>
Cc: <kernel@axis.com>, <linux-pm@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH v2 0/2] power: supply: wm97xx: Use devm-variants in probe
Date: Fri, 23 Jan 2026 09:55:42 +0100 [thread overview]
Message-ID: <cover.1769158280.git.waqar.hameed@axis.com> (raw)
This patch series contains some clean-ups that makes life a little
easier. It was originally triggered by a NULL pointer fix in this driver
that has already been applied from the previous version [1]. Therefore
note that this series is based on `for-next` branch in Sebastian
Reichel's tree [2].
[1] https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git/commit/?h=for-next&id=39fe0eac6d755ef215026518985fcf8de9360e9e
[2] https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git/?h=for-next
Changes in v2:
* Fix clean-up order by applying `devm_kcalloc()`-patch before the
`devm_power_supply_register()`-patch.
Link to v1: https://lore.kernel.org/lkml/cover.1766270196.git.waqar.hameed@axis.com/
Waqar Hameed (2):
power: supply: wm97xx: Use devm_kcalloc()
power: supply: wm97xx: Use devm_power_supply_register()
drivers/power/supply/wm97xx_battery.c | 32 ++++++++-------------------
1 file changed, 9 insertions(+), 23 deletions(-)
base-commit: 432b119ab8d8bf1f550c247f7fbe960e87ba6c92
--
2.39.5
next reply other threads:[~2026-01-23 8:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-23 8:55 Waqar Hameed [this message]
2026-01-23 8:55 ` [PATCH v2 1/2] power: supply: wm97xx: Use devm_kcalloc() Waqar Hameed
2026-01-23 8:55 ` [PATCH v2 2/2] power: supply: wm97xx: Use devm_power_supply_register() Waqar Hameed
2026-01-30 22:24 ` [PATCH v2 0/2] power: supply: wm97xx: Use devm-variants in probe Sebastian Reichel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1769158280.git.waqar.hameed@axis.com \
--to=waqar.hameed@axis.com \
--cc=kernel@axis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox