[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6F87890CF0F5204F892DEA1EF0D77A59725BF227@FMSMSX114.amr.corp.intel.com>
Date: Mon, 12 Jun 2017 00:18:29 +0000
From: "Mani, Rajmohan" <rajmohan.mani@...el.com>
To: Linus Walleij <linus.walleij@...aro.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"ACPI Devel Maling List" <linux-acpi@...r.kernel.org>,
Lee Jones <lee.jones@...aro.org>,
Alexandre Courbot <gnurou@...il.com>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Len Brown <lenb@...nel.org>
Subject: RE: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs
Hi Linus,
> Subject: Re: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs
> > +static inline struct tps68470_gpio_data *to_gpio_data(struct
> > +gpio_chip *gpiochp) {
> > + return container_of(gpiochp, struct tps68470_gpio_data, gc); }
>
> Please use the data pointe inside gpio_chip.
>
My bad. I completely missed the following line. Will fix it v3.
> struct tps68470_gpio_data *foo = gpiochip_get_data(gc);
>
Powered by blists - more mailing lists