linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] Small devm helper for devm implementations
@ 2020-03-10 10:11 Marc Gonzalez
  2020-03-10 10:15 ` [PATCH v5 1/2] devres: Provide new helper for devm functions Marc Gonzalez
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Marc Gonzalez @ 2020-03-10 10:11 UTC (permalink / raw)
  To: Stephen Boyd, Michael Turquette, Kuninori Morimoto, Russell King,
	Sudip Mukherjee, Dmitry Torokhov, Guenter Roeck, Bjorn Andersson,
	Robin Murphy, Geert Uytterhoeven, Arnd Bergmann, Ard Biesheuvel,
	Greg Kroah-Hartman, Rafael Wysocki, Suzuki Poulose, Mark Rutland
  Cc: linux-clk, Linux ARM, LKML

Hello,

Differences from v4 to v5
x Fix the grammar in devm_add comments [Geert]
x Undo an unrelated change in devm_clk_put [Geert]

Differences from v3 to v4
x Add a bunch of kerneldoc above devm_add() [Greg KH]
x Split patch in two [Greg KH]

Differences from v2 to v3
x Make devm_add() return an error-code rather than the raw data pointer
  (in case devres_alloc ever returns an ERR_PTR) as suggested by Geert
x Provide a variadic version devm_vadd() to work with structs as suggested
  by Geert
x Don't use nested ifs in clk_devm* implementations (hopefully simpler
  code logic to follow) as suggested by Geert

Marc Gonzalez (2):
  devres: Provide new helper for devm functions
  clk: Use devm_add in managed functions

 drivers/base/devres.c    | 28 ++++++++++++
 drivers/clk/clk-devres.c | 97 +++++++++++++++-------------------------
 include/linux/device.h   |  3 ++
 3 files changed, 67 insertions(+), 61 deletions(-)

-- 
2.17.1

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

end of thread, other threads:[~2020-07-23 15:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10 10:11 [PATCH v5 0/2] Small devm helper for devm implementations Marc Gonzalez
2020-03-10 10:15 ` [PATCH v5 1/2] devres: Provide new helper for devm functions Marc Gonzalez
2020-03-10 10:19 ` [PATCH v5 2/2] clk: Use devm_add in managed functions Marc Gonzalez
2020-06-04 16:13 ` [PATCH v5 0/2] Small devm helper for devm implementations Marc Gonzalez
2020-06-04 17:10   ` Greg Kroah-Hartman
2020-06-18 11:38 ` Marc Gonzalez
2020-07-06 15:56   ` Marc Gonzalez
2020-07-06 19:57     ` Greg Kroah-Hartman
2020-07-21  7:10       ` Marc Gonzalez
2020-07-23 15:00         ` Greg Kroah-Hartman

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).