[PATCH 0/1] MFD: Add U300 AB3100 core support v2

From: Linus Walleij
Date: Mon May 18 2009 - 16:38:21 EST


ChangeLog from v1 -> v2:

* use dynamically allocated struct ab3100 holder for
state encapsulation.

* Create sub-platform_devices for all the devices found
inside the AB3100. This is done after init, and all
drivers have to pass the driver_data back in order
to call back into ab3100-core. I also define a resource
containing the register range applicable for each
functionality so that it is actually possible to
limit register access to the appropriate registers for
each sub-device sometime further down the road.

* Since all sub-devices are initialized after the AB3100,
the initialization check could be removed from all
symbols.

* Converted the callback into a broadcasting notifier,
simplifying that code quite a bit by catenating the
event flags into a 24-bit field passed as value to
the listeners for masking and reacting to the proper
events.

* Register a secondary dummy I2C client for performing
test register operations.

* const on AB3100 debugfs file operations struct.

* free_irq() on the IRQ.


Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/