Messages in this thread | | | Date | Thu, 21 May 2009 21:29:46 +0200 | Subject | Re: [PATCH 1/1] MFD: Add U300 AB3100 core support v4 | From | Linus Walleij <> |
| |
2009/5/21 Samuel Ortiz <sameo@linux.intel.com>:
>> +static irqreturn_t ab3100_irq_handler(int irq, void *data) >> +{ > struct ab3100 *ab3100 = (struct ab3100 *)data; > > you're even passing the ab3100 pointer to request_irq, so it's all set > already.
Yeah and all the code was actually the way you wanted it before I started to try to separate local accesses to the struct from accesses coming in from the outside using a singleton pattern.
But no problem, I'll fix it back in the way you want it, just a minute!
Linus Walleij
| |