[BUGFIX] iwlwifi: trans_slave: free rpm_dev on error

commit 151a756ef815dee4 ("[BUGFIX] iwlwifi: trans_slave:
fix iwl_slv_rpm_add_device error path") added a missing
put_device() call, but mistakenly removed the kfree()
call, which is still needed. add it back.

Found by klocwork.

type=bugfix
bug=not-tracked
fixes=Icc44605fe8355a5dc01ca3598c1c286239f40f7d

Change-Id: I4a8ee19c9eb9d5ba74f8fb26ce27144358bafd04
Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Reviewed-on: https://git-amr-3.devtools.intel.com/gerrit/14253
Reviewed-by: Grumbach, Emmanuel <emmanuel.grumbach@intel.com>
Tested-by: ec ger unix iil jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Reviewed-on: https://git-amr-3.devtools.intel.com/gerrit/14663
x-iwlwifi-stack-dev: d82e6816c95fb4d4702de9a4d8eb8258a28c0500
2 files changed