Re: [PATCH 1/3] include: linux: i2c: more helpers for declaring i2c drivers

From: Wolfram Sang
Date: Fri Aug 16 2019 - 15:56:44 EST



(Found this mail in the offline draft folder of another laptop)

> So, then the current approach of using subsys_initcall() can't be
> changed easily, right now. But planned for the future (or at least
> not introducing new caes).

Yes.

> But: how does that conflict w/ just moving the existing redundant
> pieces into a helper macro ? The logic stays the same - just using
> a shorter notation. (assuming my patch isn't buggy ;-)).

It is not conflicting. My thinking is that such helpers, in general,
scale better and are less error prone. But there is nothing to scale
here.

Attachment: signature.asc
Description: PGP signature