Thread (15 messages) 15 messages, 4 authors, 2016-02-08

[PATCH v3 1/3] reset: Make [of_]reset_control_get[_foo] functions wrappers

flat view
DORMANTno replies

From: p.zabel@pengutronix.de (Philipp Zabel)
Date: 2016-02-08 09:58:55

Am Freitag, den 05.02.2016, 19:30 +0100 schrieb Hans de Goede:
[...]
quoted
Even though we are device tree only at this point, I'd prefer to keep an
exported function that takes a struct device argument, for example:

	return __reset_control_get(dev, id, 0);
I don't really see a reason to do this, this is not userspace abi or some-such
we can always later re-introduce an exported function which takes a device
argument. But if you insist, you're the boss :)
s/boss/janitor/ more like
Let me know if you really
want me to make this change for the next version, and I'll add it to v4 of this
set.
Leave it as is. I have a patch to add it back, and yes it looks a bit
superfluous on its own. I'll add apply that only once its actually
needed.

regards
Philipp
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help