+2
−0
Loading
After called device_initialize(), even device_add() returns error, we still need use the put_device() to release the reference to call rtd_release(), which will do the free() action. Signed-off-by:liu chuansheng <chuansheng.liu@intel.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>