Re: [PATCH 2/2] pinctrl: tegra: move probe to __init section

2018-09-20 Thread Stefan Agner
On 20.09.2018 08:16, Linus Walleij wrote: > On Tue, Sep 18, 2018 at 6:24 PM Stefan Agner wrote: > >> The Tegra pinctrl drivers are always built-in. This allows to use >> platform_driver_probe() and mark several functions as __init. >> This allows the kernel to free about 1KiB of memory if Tegra >

Re: [PATCH 2/2] pinctrl: tegra: move probe to __init section

2018-09-20 Thread Linus Walleij
On Tue, Sep 18, 2018 at 6:24 PM Stefan Agner wrote: > The Tegra pinctrl drivers are always built-in. This allows to use > platform_driver_probe() and mark several functions as __init. > This allows the kernel to free about 1KiB of memory if Tegra > pinctrl drivers are not used. > > Signed-off-by:

Re: [PATCH 2/2] pinctrl: tegra: move probe to __init section

2018-09-19 Thread kbuild test robot
Hi Stefan, I love your patch! Perhaps something to improve: [auto build test WARNING on tegra/for-next] [also build test WARNING on v4.19-rc4 next-20180919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/lin

[PATCH 2/2] pinctrl: tegra: move probe to __init section

2018-09-18 Thread Stefan Agner
The Tegra pinctrl drivers are always built-in. This allows to use platform_driver_probe() and mark several functions as __init. This allows the kernel to free about 1KiB of memory if Tegra pinctrl drivers are not used. Signed-off-by: Stefan Agner --- drivers/pinctrl/tegra/pinctrl-tegra.c| 6