Re: [PATCH v6 2/5] i2c: core: add api to provide frequency mode strings

From: Wolfram Sang
Date: Wed Apr 07 2021 - 18:56:41 EST



> > I guess exporting will save few dozens of bytes if the function is used more
> > than once. (All strings will be duplicated or multiplied in that case)
> >
>
> yes, that's one concern. since we don't need this to perform fast, an inline
> one maybe unnecessary.

Exactly. I also don't see an advantage of the function being inline. But
potential disadvantage, even if just small memory overhead. So, I'd
still rather see it as a core function.

Attachment: signature.asc
Description: PGP signature