diff options
author | Andres Salomon <dilinger@queued.net> | 2011-02-17 19:07:34 -0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 10:41:58 +0100 |
commit | 1e29af62f2b285bd18685da93c3ce8c33ca2d1db (patch) | |
tree | 662545398e04cfb5b10fa4b13810d47ddd003c98 /crypto | |
parent | dcb50e83bb86d66d3554ba9c365488669c84d037 (diff) | |
download | kernel_goldelico_gta04-1e29af62f2b285bd18685da93c3ce8c33ca2d1db.zip kernel_goldelico_gta04-1e29af62f2b285bd18685da93c3ce8c33ca2d1db.tar.gz kernel_goldelico_gta04-1e29af62f2b285bd18685da93c3ce8c33ca2d1db.tar.bz2 |
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions