Messages in this thread | | | From | Linus Walleij <> | Date | Sun, 27 Nov 2022 23:07:39 +0100 | Subject | Re: [PATCH] gpio: Do not include <linux/kernel.h> when not really needed. |
| |
On Sun, Nov 27, 2022 at 10:52 PM Christophe JAILLET <christophe.jaillet@wanadoo.fr> wrote:
> <linux/kernel.h> is included only for using container_of(). > Include <linux/container_of.h> instead, it is much lighter. > > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
This is fine. Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
As Andy split out the container_of header file a year ago or so he certainly want to ACK this too.
Yours, Linus Walleij
| |