Thread (47 messages) 47 messages, 8 authors, 2017-07-20

RE: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs

From: Mani, Rajmohan <hidden>
Date: 2017-06-12 00:18:34
Also in: linux-acpi, lkml

Hi Linus,
Subject: Re: [PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs
quoted
+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);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help