[PATCH v3 1/3] reset: Make [of_]reset_control_get[_foo] functions wrappers
Philipp Zabel
p.zabel at pengutronix.de
Mon Feb 8 01:58:55 PST 2016
Am Freitag, den 05.02.2016, 19:30 +0100 schrieb Hans de Goede:
[...]
> > 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
More information about the linux-arm-kernel
mailing list