technology: Remove technology driver by pointer
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 28 Jan 2013 15:44:32 +0000 (17:44 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 30 Jan 2013 08:27:34 +0000 (10:27 +0200)
commit23f142c6534138fa9f5911c7d1069864c5ea6b19
treeacb7fba028ebda9fce643ae37543394791f69d3c
parent77e67badd41d01cfc7631312fab57a01dc135456
technology: Remove technology driver by pointer

Compare the technology driver pointer to the driver being unregistered
as the function is supposed to remove only the given driver.

Also check if the driver has a remove function before calling it.
src/technology.c