technology: Refactor how a technology is enabled or disabled
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Mon, 15 Oct 2012 12:35:13 +0000 (15:35 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 16 Oct 2012 12:02:45 +0000 (15:02 +0300)
commit911b920a34803672825a5e085c602dd0ff037e34
tree612b2f568e4e9e0b2dd16d9c5bc17bcd171c4cdf
parent1b0448697474a2d0f78a083e606083478c0f1d69
technology: Refactor how a technology is enabled or disabled

Refactor how a device list is enabled/disabled: this will be useful
for coming patches. Simplify also the code, and remove useless gotos.
src/technology.c