[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200401191810.1c06ead6@canb.auug.org.au>
Date: Wed, 1 Apr 2020 19:18:10 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Thierry Reding <treding@...dia.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gpio: turn of_pinctrl_get() into a static inline
Hi all,
On Wed, 1 Apr 2020 19:08:10 +1100 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> This avoids the overheads of an EXPORTed function.
>
> Suggested-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
> ---
> drivers/pinctrl/devicetree.c | 6 ------
> include/linux/pinctrl/pinctrl.h | 9 +++------
> 2 files changed, 3 insertions(+), 12 deletions(-)
>
> This is not even build tested, but is this what you meant, Geert?
Actually this won't work because get_pinctrl_dev_from_of_node() is
declared in the private header file drivers/pinctrl/core.h :-(
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists