Andres Salomon 1e29af62f2 mfd: Add refcounting support to mfd_cells
This provides convenience functions for sharing of cells across
multiple mfd clients.  Mfd drivers can provide enable/disable hooks
to actually tweak the hardware, and clients can call
mfd_shared_cell_{en,dis}able without having to worry about whether
or not another client happens to have enabled or disabled the
cell/hardware.

Note that this is purely optional; drivers can continue to use
the mfd_cell's enable/disable hooks for their own purposes, if
desired.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2011-03-23 10:41:58 +01:00
..
2011-03-23 10:41:43 +01:00
2011-01-14 12:37:43 +01:00
2011-03-23 10:41:48 +01:00
2011-03-23 10:41:48 +01:00
2010-12-24 16:00:17 +01:00
2010-08-12 11:28:00 +02:00
2010-08-12 11:27:59 +02:00
2011-01-14 12:37:39 +01:00
2009-09-17 09:46:59 +02:00