provider: Load providers at provider driver registration time
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 25 Jan 2012 11:49:44 +0000 (13:49 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 27 Jan 2012 10:21:24 +0000 (11:21 +0100)
commitacbf7af0e8635b4234541d24fb64ca6207171146
tree410d22835fbc49764700b54d4d97c1d47c2b607e
parent7bac984ed2a24e9865a00c08a35c6016e78d8ca3
provider: Load providers at provider driver registration time

Load all saved providers that have the same type as the provider
driver being registered. While looking through the storage dir
for directory entries starting with 'provider_', the respective
settings file needs to be opened in order to check the type.
Since the settings file is already opened, load all other settings
as well with the help of the previously factored out functions.
src/provider.c