linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] input: automate of_node_put() calls for device_node
@ 2024-10-21 20:28 Javier Carrasco
  2024-10-21 20:28 ` [PATCH v3 1/2] Input: sparcspkr - use device managed memory for 'state' Javier Carrasco
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Javier Carrasco @ 2024-10-21 20:28 UTC (permalink / raw)
  To: Dmitry Torokhov, Matthias Brugger, AngeloGioacchino Del Regno,
	Hans de Goede, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland,
	Florian Fainelli, Broadcom internal kernel review list
  Cc: linux-input, linux-kernel, linux-arm-kernel, linux-mediatek,
	linux-sunxi, linux-rpi-kernel, Javier Carrasco

The first patch of the series provides device managed memory, which
simplifies bbc_bee_probe() and removes the need for the goto
instructions That also prepares the function for the second patch where
the cleanup attribute is used for 'dp'.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
Changes in v3:
- Add patch to use device managed memory and simplify the code by
  dropping labels in bbc_beep_probe().
- Link to v2: https://lore.kernel.org/r/20241020-input_automate_of_node_put-v2-1-ddec58b4b99e@gmail.com

Changes in v2:
- rebase onto input/next, drop applied patches.
- sparcspkr: drop goto before node declaration and return -ENOMEM.
- Link to v1: https://lore.kernel.org/r/20241010-input_automate_of_node_put-v1-0-ebc62138fbf8@gmail.com

---
Javier Carrasco (2):
      Input: sparcspkr - use device managed memory for 'state'
      Input: sparcspkr - use cleanup facility for device_node

 drivers/input/misc/sparcspkr.c | 45 ++++++++++++++----------------------------
 1 file changed, 15 insertions(+), 30 deletions(-)
---
base-commit: d0c3a7aa814c091843ccca467c02078db9da4e1e
change-id: 20241009-input_automate_of_node_put-1bae9f5c02d9

Best regards,
-- 
Javier Carrasco <javier.carrasco.cruz@gmail.com>


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

end of thread, other threads:[~2024-10-22 20:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-21 20:28 [PATCH v3 0/2] input: automate of_node_put() calls for device_node Javier Carrasco
2024-10-21 20:28 ` [PATCH v3 1/2] Input: sparcspkr - use device managed memory for 'state' Javier Carrasco
2024-10-21 20:28 ` [PATCH v3 2/2] Input: sparcspkr - use cleanup facility for device_node Javier Carrasco
2024-10-22  4:57   ` Chen-Yu Tsai
2024-10-22 20:59 ` [PATCH v3 0/2] input: automate of_node_put() calls " Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).