[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZdeVNtJSmc6Lr6j=oO9FLsAvjyrwhYS0j4OoAEhxCN9g@mail.gmail.com>
Date: Fri, 16 Aug 2013 15:34:45 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Cc: "linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
kernel@...oirfairelinux.com
Subject: Re: [PATCH] gpio: (gpio-pca953x) move header to linux/platform_data/
On Wed, Jul 31, 2013 at 10:57 PM, Vivien Didelot
<vivien.didelot@...oirfairelinux.com> wrote:
> This patch moves the pca953x.h header from include/linux/i2c to
> include/linux/platform_data and updates existing support accordingly.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
On the concept:
Acked-by: Linus Walleij <linus.walleij@...aro.org>
But:
> drivers/gpio/gpio-pca953x.c | 2 +-
(...)
> diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c
> index 426c51d..8804aec 100644
> --- a/drivers/gpio/gpio-pca953x.c
> +++ b/drivers/gpio/gpio-pca953x.c
> @@ -18,7 +18,7 @@
> #include <linux/irq.h>
> #include <linux/irqdomain.h>
> #include <linux/i2c.h>
> -#include <linux/i2c/pca953x.h>
> +#include <linux/platform_data/pca953x.h>
Why does the GPIO driver need platform data from the
I2C driver???
Can't this just be made to go away?
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists