mtd: OneNAND: add enable / disable methods to onenand_chip
authorAdrian Hunter <adrian.hunter@nokia.com>
Fri, 19 Feb 2010 14:39:52 +0000 (15:39 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 6 Jan 2011 15:34:19 +0000 (15:34 +0000)
Add enable / disable methods called from get_device() / release_device().
These can be used, for example, to allow the driver to prevent the voltage
regulator from being put to sleep while OneNAND is in use.

Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

No differences found