| Date | Fri, 28 May 2021 12:14:54 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH v1 28/28] leds: sgm3140: Put fwnode in any case during ->probe() |
| |
Hi!
> fwnode_get_next_child_node() bumps a reference counting of a returned variable. > We have to balance it whenever we return to the caller.
This (and similar) -- in half of the drivers we hold the handle from successful probe. Is it a problem and why is it problem only for some drivers?
Thanks for series, btw, I pushed out current version of the tree.
Best regards, Pavel
-- http://www.livejournal.com/~pavelmachek [unhandled content-type:application/pgp-signature] |