public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] power: supply: wm97xx: Use devm-variants in probe
@ 2026-01-23  8:55 Waqar Hameed
  2026-01-23  8:55 ` [PATCH v2 1/2] power: supply: wm97xx: Use devm_kcalloc() Waqar Hameed
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Waqar Hameed @ 2026-01-23  8:55 UTC (permalink / raw)
  To: Sebastian Reichel; +Cc: kernel, linux-pm, linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-30 22:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-23  8:55 [PATCH v2 0/2] power: supply: wm97xx: Use devm-variants in probe Waqar Hameed
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox