Messages in this thread | | | From | Andy Shevchenko <> | Date | Fri, 28 Apr 2017 19:23:17 +0300 | Subject | Re: [PATCH v5 02/10] pinctrl: generic: Add macros to unpack properties |
| |
On Fri, Apr 28, 2017 at 11:16 AM, Linus Walleij <linus.walleij@linaro.org> wrote: > On Thu, Apr 27, 2017 at 10:19 AM, Jacopo Mondi > <jacopo+renesas@jmondi.org> wrote:
> But why. > > I have these two static inlines just below your new macros:
+1.
> We generally prefer static inlines over macros because they are easier > to read.
Not only. It adds type checking as well AFAIUC.
-- With Best Regards, Andy Shevchenko
| |