Re: [PATCH 1/1] MFD: Add U300 AB3100 core support v4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/5/21 Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>:

>> +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
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux