e3d6a59996
Replace kzalloc with devm_kzalloc in driver initialization sequence. The
allocation can be tied to the lifetime of the amd_sfh driver. This cleans
up an exit & error paths, since the objects does not need to be
explicitly freed anymore.
Fixes:
|
||
---|---|---|
.. | ||
hid_descriptor | ||
amd_sfh_client.c | ||
amd_sfh_hid.c | ||
amd_sfh_hid.h | ||
amd_sfh_pcie.c | ||
amd_sfh_pcie.h | ||
Kconfig | ||
Makefile |