mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] regulator: max77826: Constify and simplify
@ 2024-09-08 11:40 Christophe JAILLET
  2024-09-08 11:40 ` [PATCH 1/2] regulator: max77826: Constify struct regulator_desc Christophe JAILLET
  2024-09-08 11:40 ` [PATCH 2/2] regulator: max77826: Simplify max77826_i2c_probe() Christophe JAILLET
  0 siblings, 2 replies; 5+ messages in thread
From: Christophe JAILLET @ 2024-09-08 11:40 UTC (permalink / raw)
  To: lgirdwood, iskren.chernev
  Cc: linux-kernel, kernel-janitors, Christophe JAILLET

Patch 1 is just a constification path. It should be straighforward.


Patch 2 is COMPLETELY SPECULATIVE. Some code and memory allocation
*LOOK* useless. So review with care!
Looking are lore does not give any information about this code to me.
v1: https://lore.kernel.org/all/20200413164440.1138178-1-iskren.chernev@gmail.com/
v2: https://lore.kernel.org/all/20200414172250.2363235-1-iskren.chernev@gmail.com/

It *looks* like code written to release some resources in a .remove()
function, maybe used before switchwing to devm_ function.

Christophe JAILLET (2):
  regulator: max77826: Constify struct regulator_desc
  regulator: max77826: Simplify max77826_i2c_probe()

 drivers/regulator/max77826-regulator.c | 20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)

-- 
2.46.0


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

end of thread, other threads:[~2024-09-09  7:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-08 11:40 [PATCH 0/2] regulator: max77826: Constify and simplify Christophe JAILLET
2024-09-08 11:40 ` [PATCH 1/2] regulator: max77826: Constify struct regulator_desc Christophe JAILLET
2024-09-09  7:48   ` Iskren Chernev
2024-09-08 11:40 ` [PATCH 2/2] regulator: max77826: Simplify max77826_i2c_probe() Christophe JAILLET
2024-09-09  7:50   ` Iskren Chernev

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

all inboxes | Powered by JetHome®